Skip to content

Commit

Permalink
Add inflection, add meta
Browse files Browse the repository at this point in the history
  • Loading branch information
joepio committed Jan 8, 2024
1 parent 03a0fdd commit 071d260
Show file tree
Hide file tree
Showing 3 changed files with 36 additions and 3 deletions.
3 changes: 2 additions & 1 deletion src/routes/api/posts/+server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@ import type { Post } from '$lib/types'
import { outcomesMeta } from '../../outcomes/meta'
import { communitiesMeta } from '../../communities/communities'
import { meta as pdoomMeta } from '../../pdoom/meta'
import { meta as scorecardMeta } from '../../scorecard/meta'

/** When adding an extra route, make sure to add the metadata here for SEO purposes */
const hardCodedPages: Post[] = [outcomesMeta, communitiesMeta, pdoomMeta]
const hardCodedPages: Post[] = [outcomesMeta, communitiesMeta, pdoomMeta, scorecardMeta]

async function getPosts() {
let posts: Post[] = []
Expand Down
15 changes: 13 additions & 2 deletions src/routes/scorecard/TableCell.svelte
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<script lang="ts">
export let score: number | undefined = undefined
export let explanation: string = undefined
export let explanation: string | undefined = undefined
export let showExplanation: boolean
export let title: string | undefined = undefined
let showTooltip = false
Expand All @@ -22,7 +22,14 @@
}
</script>

<td on:mouseover={() => (showTooltip = true)} on:mouseout={() => (showTooltip = false)}>
<td
on:mouseover={() => (showTooltip = true)}
on:mouseout={() => (showTooltip = false)}
on:focus={() => (showTooltip = true)}
on:blur={() => (showTooltip = false)}
on:click={() => (showExplanation = !showExplanation)}
class={showExplanation ? '' : 'enable-tooltips'}
>
{#if title !== undefined}
<div class="title">
{title}
Expand All @@ -46,6 +53,10 @@
</td>

<style>
td.enable-tooltips:hover {
cursor: help;
background-color: var(--bg-subtle);
}
.title {
font-weight: bold;
}
Expand Down
21 changes: 21 additions & 0 deletions src/routes/scorecard/companies.ts
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,27 @@ const companiesSource: Company[] = [
'Anthropic has published very important advancements in AI safety research, especially in the field of interpretability.',
score: 9
}
},
{
name: 'Inflection',
acknowledge: {
// https://forum.effectivealtruism.org/posts/JsjQRqvRc5pFmeSoj/what-do-we-know-about-mustafa-suleyman-s-position-on-ai
explanation:
'Their CEO Mustafa Suleyman has written extensively about catastrophic AI risks in his book.',
score: 8
},
lobby: {
explanation: 'No lobbying as far as we know of yet.',
score: 7
},
deployment: {
explanation: 'Not sure tbd',
score: 4
},
research: {
explanation: 'No AI safety research published by Inflection.',
score: 0
}
}
]

Expand Down

0 comments on commit 071d260

Please sign in to comment.