Skip to content

Commit

Permalink
Merge pull request #84 from plastic-labs/steerability-eval-update
Browse files Browse the repository at this point in the history
Add steerability eval blog post draft
  • Loading branch information
vintrocode authored Dec 14, 2024
2 parents 9a37db6 + 7bf57ad commit 2fb48b1
Show file tree
Hide file tree
Showing 9 changed files with 209 additions and 13 deletions.
Binary file added content/assets/generation.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/assets/heatmap_statements_20241212.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added content/assets/test_scores_across_personas.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

Large diffs are not rendered by default.

10 changes: 6 additions & 4 deletions quartz/components/ContentMeta.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,14 @@ export default ((opts?: Partial<ContentMetaOptions>) => {

if (fileData.dates) {
const createdDate = formatDate(getDate(cfg, fileData)!, cfg.locale)
const modifiedDate = formatDate(fileData.dates.modified, cfg.locale) // Assuming fileData contains a 'dates' object with 'modified' property

// segments.push(`Created: ${createdDate}, Modified: ${modifiedDate}`)
segments.push(createdDate)
}

// Add author if it exists in frontmatter
if (fileData.frontmatter.author) {
segments.push(`by ${fileData.frontmatter.author}`)
}

// Display reading time if enabled
if (options.showReadingTime) {
const { minutes, words: _words } = readingTime(text)
Expand All @@ -42,7 +44,7 @@ export default ((opts?: Partial<ContentMetaOptions>) => {
segments.push(displayedTime)
}

return <p class={classNames(displayClass, "content-meta")}>{segments.join(", ")}</p>
return <p class={classNames(displayClass, "content-meta")}>{segments.join(" · ")}</p>
} else {
return null
}
Expand Down
21 changes: 12 additions & 9 deletions quartz/styles/base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -45,9 +45,6 @@ ul,
fill: var(--darkgray);
overflow-wrap: anywhere;
hyphens: auto;
font-size: 0.9rem;
letter-spacing: -0.03em;
line-height: 1.5;
}

.math {
Expand Down Expand Up @@ -132,6 +129,18 @@ a {
font-size: 2rem;
}

p,
ul,
ol,
li,
td,
tr,
.math {
font-size: 0.9rem;
letter-spacing: -0.03em;
line-height: 1.5;
}

& li:has(> input[type="checkbox"]) {
list-style-type: none;
padding-left: 0;
Expand All @@ -151,12 +160,6 @@ a {
p > strong {
color: var(--dark);
}

p {
letter-spacing: -0.03em;
line-height: 1.5;
font-size: 0.9rem;
}
}

& > #quartz-body {
Expand Down

0 comments on commit 2fb48b1

Please sign in to comment.