Spaces:
Running
Running
Update index.html
Browse files- index.html +141 -2
index.html
CHANGED
|
@@ -1,3 +1,142 @@
|
|
| 1 |
<!doctype html>
|
| 2 |
-
<html
|
| 3 |
-
<
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
<!doctype html>
|
| 2 |
+
<html lang="en">
|
| 3 |
+
<head>
|
| 4 |
+
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
|
| 5 |
+
<meta charset="utf-8"/>
|
| 6 |
+
<meta name="viewport" content="width=device-width,initial-scale=1"/>
|
| 7 |
+
<title>Teaching Colloquium - AI Tools and Grading</title>
|
| 8 |
+
<style>
|
| 9 |
+
:root { --fg:#1a1a1a; --muted:#666; --card:#fff; --line:#e6e6e6; --accent:#1E4D2B; --btn:#1a1a1a; }
|
| 10 |
+
* { box-sizing: border-box; }
|
| 11 |
+
body { margin: 20px; font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif; color: var(--fg); line-height: 1.45; }
|
| 12 |
+
h1 { font-size: 1.6rem; margin: 0 0 10px; }
|
| 13 |
+
h2 { margin: 16px 0 8px; }
|
| 14 |
+
p { margin: 0 0 10px; color: var(--muted); }
|
| 15 |
+
.band { background: var(--accent); color: #fff; border-radius: 12px; padding: 18px 16px; margin-bottom: 16px; }
|
| 16 |
+
.kicker { font-size: 0.9rem; letter-spacing: 0.02em; opacity: 0.95; }
|
| 17 |
+
.section { margin: 18px 0 8px; }
|
| 18 |
+
.grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin-top: 8px; }
|
| 19 |
+
.card { background: var(--card); border: 1px solid var(--line); border-radius: 12px; padding: 14px; }
|
| 20 |
+
a.button { display: inline-block; margin-top: 8px; padding: 8px 12px; border: 1px solid var(--btn); border-radius: 8px; text-decoration: none; color: var(--btn); }
|
| 21 |
+
table { border-collapse: collapse; width: 100%; margin-top: 8px; }
|
| 22 |
+
th, td { border: 1px solid var(--line); padding: 6px; text-align: left; font-size: 0.95rem; }
|
| 23 |
+
th { background: #f6f6f6; }
|
| 24 |
+
.mono { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; font-size: 0.9rem; }
|
| 25 |
+
.note { color: var(--muted); font-size: 0.9rem; }
|
| 26 |
+
</style>
|
| 27 |
+
</head>
|
| 28 |
+
<body>
|
| 29 |
+
<div class="band">
|
| 30 |
+
<div class="kicker">Colorado State University - HES 419</div>
|
| 31 |
+
<h1>AI-Created Learning Tools and AI Grading Assistance</h1>
|
| 32 |
+
<p>Scan once, browse everything: interactive tool overview and autograding materials.</p>
|
| 33 |
+
</div>
|
| 34 |
+
|
| 35 |
+
<!-- Section 1: AI-Created Learning Tools -->
|
| 36 |
+
<div class="section" id="learning-tools">
|
| 37 |
+
<h2>1) AI-Created Learning Tools</h2>
|
| 38 |
+
<p><small>One-page preview of the interactive tool used in class.</small></p>
|
| 39 |
+
<div class="grid">
|
| 40 |
+
<div class="card">
|
| 41 |
+
<h3>Interactive Tool (PDF)</h3>
|
| 42 |
+
<p>Quick tour of the student-facing activity (tolerance, dependence, SUD criteria, withdrawal).</p>
|
| 43 |
+
<a class="button" href="./interactive_tool.pdf" target="_blank" rel="noopener">Open PDF</a>
|
| 44 |
+
</div>
|
| 45 |
+
</div>
|
| 46 |
+
</div>
|
| 47 |
+
|
| 48 |
+
<!-- Section 2: AI Grading Assistance -->
|
| 49 |
+
<div class="section" id="grading">
|
| 50 |
+
<h2>2) AI Grading Assistance</h2>
|
| 51 |
+
<p><small>See the rubric formatted for autograding and an example of the graded output.</small></p>
|
| 52 |
+
<div class="grid">
|
| 53 |
+
<div class="card">
|
| 54 |
+
<h3>Autograder-Friendly Rubric</h3>
|
| 55 |
+
<p>Criteria and weights aligned to learning objectives; PDF format.</p>
|
| 56 |
+
<a class="button" href="./autograder_friendly_rubric.pdf" target="_blank" rel="noopener">Open Rubric (PDF)</a>
|
| 57 |
+
</div>
|
| 58 |
+
|
| 59 |
+
<div class="card">
|
| 60 |
+
<h3>Grading Output (CSV)</h3>
|
| 61 |
+
<p>Example of AI-assisted scoring output with itemized feedback.</p>
|
| 62 |
+
<p class="mono"><a class="button" href="./autograding_example.csv" target="_blank" rel="noopener">Download CSV</a></p>
|
| 63 |
+
<div id="csv-preview">
|
| 64 |
+
<small>Inline preview:</small>
|
| 65 |
+
<div id="csv-table">Loading...</div>
|
| 66 |
+
</div>
|
| 67 |
+
<p class="note">If the preview does not load on your device, use the Download CSV button above.</p>
|
| 68 |
+
</div>
|
| 69 |
+
</div>
|
| 70 |
+
</div>
|
| 71 |
+
|
| 72 |
+
<p class="note" style="margin-top:20px">
|
| 73 |
+
Questions? Ask about reliability evidence, Canvas flows, and auto-download certificates.
|
| 74 |
+
</p>
|
| 75 |
+
|
| 76 |
+
<script>
|
| 77 |
+
// Simple CSV parser for comma-separated rows with optional quotes.
|
| 78 |
+
function parseCSV(text) {
|
| 79 |
+
const rows = [];
|
| 80 |
+
let i = 0, field = '', row = [], inQuotes = false;
|
| 81 |
+
while (i < text.length) {
|
| 82 |
+
const c = text[i];
|
| 83 |
+
if (inQuotes) {
|
| 84 |
+
if (c === '"') {
|
| 85 |
+
if (text[i+1] === '"') { field += '"'; i++; } else { inQuotes = false; }
|
| 86 |
+
} else { field += c; }
|
| 87 |
+
} else {
|
| 88 |
+
if (c === ',') { row.push(field); field = ''; }
|
| 89 |
+
else if (c === '\n' || c === '\r') {
|
| 90 |
+
if (c === '\n') { row.push(field); rows.push(row); row = []; field = ''; }
|
| 91 |
+
} else if (c === '"') { inQuotes = true; }
|
| 92 |
+
else { field += c; }
|
| 93 |
+
}
|
| 94 |
+
i++;
|
| 95 |
+
}
|
| 96 |
+
if (field.length || row.length) { row.push(field); rows.push(row); }
|
| 97 |
+
return rows.filter(r => r.length && r.some(cell => cell.trim().length));
|
| 98 |
+
}
|
| 99 |
+
|
| 100 |
+
async function loadCSV() {
|
| 101 |
+
try {
|
| 102 |
+
const res = await fetch('./autograding_example.csv', { cache: 'no-store' });
|
| 103 |
+
if (!res.ok) throw new Error('Fetch failed');
|
| 104 |
+
const text = await res.text();
|
| 105 |
+
const normalized = text.replace(/\r\n/g, '\n');
|
| 106 |
+
const rows = parseCSV(normalized);
|
| 107 |
+
if (!rows.length) throw new Error('No rows');
|
| 108 |
+
|
| 109 |
+
const header = rows[0];
|
| 110 |
+
const body = rows.slice(1);
|
| 111 |
+
|
| 112 |
+
const table = document.createElement('table');
|
| 113 |
+
const thead = document.createElement('thead');
|
| 114 |
+
const trh = document.createElement('tr');
|
| 115 |
+
header.forEach(h => { const th = document.createElement('th'); th.textContent = h; trh.appendChild(th); });
|
| 116 |
+
thead.appendChild(trh);
|
| 117 |
+
table.appendChild(thead);
|
| 118 |
+
|
| 119 |
+
const tbody = document.createElement('tbody');
|
| 120 |
+
body.forEach(r => {
|
| 121 |
+
const tr = document.createElement('tr');
|
| 122 |
+
header.forEach((_, idx) => {
|
| 123 |
+
const td = document.createElement('td');
|
| 124 |
+
td.textContent = (r[idx] ?? '').trim();
|
| 125 |
+
tr.appendChild(td);
|
| 126 |
+
});
|
| 127 |
+
tbody.appendChild(tr);
|
| 128 |
+
});
|
| 129 |
+
table.appendChild(tbody);
|
| 130 |
+
|
| 131 |
+
const mount = document.getElementById('csv-table');
|
| 132 |
+
mount.innerHTML = '';
|
| 133 |
+
mount.appendChild(table);
|
| 134 |
+
} catch (e) {
|
| 135 |
+
const mount = document.getElementById('csv-table');
|
| 136 |
+
mount.textContent = 'Preview unavailable (file missing or blocked). You can still use the Download CSV button above.';
|
| 137 |
+
}
|
| 138 |
+
}
|
| 139 |
+
loadCSV();
|
| 140 |
+
</script>
|
| 141 |
+
</body>
|
| 142 |
+
</html>
|