Skip to content

Commit

Permalink
Merge pull request #2 from som-shahlab/dependabot/npm_and_yarn/babel/…
Browse files Browse the repository at this point in the history
…traverse-7.23.9

Bump @babel/traverse from 7.15.4 to 7.23.9
  • Loading branch information
jason-fries authored Feb 22, 2024
2 parents a7f8400 + 4a5acea commit 73e86bc
Show file tree
Hide file tree
Showing 48 changed files with 292 additions and 190 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@ indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
insert_final_newline = true
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
assets/js/index.js
assets/js/katex.js
assets/js/vendor
node_modules
node_modules
2 changes: 1 addition & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,4 @@
}
]
}
}
}
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@ public
resources
# Local Netlify folder
.netlify
TODO
TODO
2 changes: 1 addition & 1 deletion .markdownlint.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@
"no-trailing-punctuation": false,
"no-duplicate-heading": false,
"no-bare-urls": false
}
}
2 changes: 1 addition & 1 deletion .markdownlintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
node_modules
CHANGELOG.md
README.md
README.md
2 changes: 1 addition & 1 deletion .stylelintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
assets/scss/components/_syntax.scss
assets/scss/vendor
node_modules
node_modules
2 changes: 1 addition & 1 deletion .stylelintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@
}
]
}
}
}
2 changes: 1 addition & 1 deletion archetypes/docs.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ date: {{ .Date }}
lastmod: {{ .Date }}
draft: true
images: []
menu:
menu:
docs:
parent: ""
weight: 999
Expand Down
2 changes: 1 addition & 1 deletion babel.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ module.exports = {
}
]
]
};
};
2 changes: 1 addition & 1 deletion config/_default/menus.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@
# [[footer]]
# name = "Privacy"
# url = "/privacy-policy/"
# weight = 10
# weight = 10
2 changes: 1 addition & 1 deletion config/_default/params.toml
Original file line number Diff line number Diff line change
Expand Up @@ -73,4 +73,4 @@ editPage = false
breadCrumb = false
highLight = true
kaTex = false
collapsibleSidebar = false
collapsibleSidebar = false
2 changes: 1 addition & 1 deletion doks-theme/assets/css/style.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion layouts/404.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ <h1 class="text-center">Page not found :(</h1>
</article>
</div>
</div>
{{ end }}
{{ end }}
2 changes: 1 addition & 1 deletion layouts/_default/baseof.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@
{{ end }}
{{ partial "footer/script-footer.html" . }}
</body>
</html>
</html>
2 changes: 1 addition & 1 deletion layouts/_default/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ var docs = [
href: "{{ .URL | relURL }}"
},
{{ end -}}
];
];
2 changes: 1 addition & 1 deletion layouts/_default/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
{{- range .Site.RegularPages -}}
{{- $.Scratch.Add "index" (dict "title" .Title "description" .Params.description "contents" .Plain "RelPermalink" .RelPermalink) -}}
{{- end -}}
{{- $.Scratch.Get "index" | jsonify -}}
{{- $.Scratch.Get "index" | jsonify -}}
2 changes: 1 addition & 1 deletion layouts/_default/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,4 @@ <h2><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
{{ template "_internal/pagination.html" . }}
</div>
</div>
{{ end }}
{{ end }}
2 changes: 1 addition & 1 deletion layouts/_default/section.sitemap.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@
{{ end -}}
{{ end -}}
{{ end -}}
</urlset>
</urlset>
2 changes: 1 addition & 1 deletion layouts/blog/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,4 @@ <h2 class="h3"><a class="stretched-link text-body" href="{{ .RelPermalink }}">{{
</article>
</div>
</div>
{{ end }}
{{ end }}
2 changes: 1 addition & 1 deletion layouts/blog/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ <h1>{{ .Title }}</h1>
</article>
</div>
</div>
{{ end }}
{{ end }}
2 changes: 1 addition & 1 deletion layouts/contributors/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -20,4 +20,4 @@ <h2 class="h3"><a class="stretched-link text-body" href="{{ .RelPermalink }}">{{
</article>
</div>
</div>
{{ end }}
{{ end }}
2 changes: 1 addition & 1 deletion layouts/docs/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,4 @@ <h1 class="text-center">{{ .Title }}</h1>
</article>
</div>
</div>
{{ end }}
{{ end }}
2 changes: 1 addition & 1 deletion layouts/docs/single.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,4 @@ <h1>{{ .Title }}</h1>
{{ end -}}
</main>
</div>
{{ end }}
{{ end }}
2 changes: 1 addition & 1 deletion layouts/index.headers
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,4 @@
X-Frame-Options: SAMEORIGIN
Referrer-Policy: strict-origin
Feature-Policy: geolocation 'self'
Cache-Control: public, max-age=31536000
Cache-Control: public, max-age=31536000
16 changes: 8 additions & 8 deletions layouts/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ <h1 class="mt-0">{{ .Title }}</h1>
</div>

<section class="section section-sm">

<div class="row justify-content-center text-center">
<div class="col-lg-5">
<h2 class="h4"><a href="https://medalign-4b245550a5e9.herokuapp.com/">Contribute instructions</a></h2>
Expand All @@ -47,9 +47,9 @@ <h2 class="h4"><a href="docs/dataset/access">Dataset access</a></h2>
</div>
</div>
</section>

<!-- Third Row -->
<div style="text-align: justify; text-justify: inter-word;">
<div style="text-align: justify; text-justify: inter-word;">
</p style="text-align: justify; text-justify: inter-word;"> The ability of large language models (LLMs) to follow natural language instructions with human-level fluency suggests many opportunities in healthcare to reduce administrative burden and improve quality of care. However, evaluating LLMs on realistic text generation tasks for healthcare remains challenging. Existing question answering datasets for electronic health record (EHR) data fail to capture the complexity of information needs and documentation burdens experienced by clinicians. To address these challenges, we introduce MedAlign, a benchmark dataset of 983 natural language instructions for EHR data. MedAlign is curated by 15 clinicians (7 specialities), includes clinician-written reference responses for 303 instructions, and provides 276 longitudinal EHRs for grounding instruction-response pairs. We used MedAlign to evaluate 6 general domain LLMs, having clinicians rank the accuracy and quality of each LLM response. We found high error rates, ranging from 35% (GPT-4) to 68% (MPT-7B-Instruct), and an 8.3% drop in accuracy moving from 32k to 2k context lengths for GPT-4. Finally, we report correlations between clinician rankings and automated natural language generation metrics as a way to rank LLMs without human review. We make MedAlign available under a research data use agreement to enable LLM evaluations on tasks aligned with clinician needs and preferences.<p>
</div>

Expand All @@ -61,17 +61,17 @@ <h2 class="h4"><a href="docs/dataset/access">Dataset access</a></h2>
</div>

</div>

</div>


</section>
{{ end }}

{{ define "sidebar-prefooter" }}
<!-- <section class="section section-sm">
<div class="container">
<div class="row justify-content-center text-center">
<div class="col-lg-5">
Expand All @@ -81,7 +81,7 @@ <h2 class="h4"><a href="docs/dataset/access">Download instructions</a></h2>
DUA in coming months. See <a href="docs/dataset/access">here</a> for more details.
</p>
<a class="btn btn-primary btn-lg px-4 mb-2" href="https://medalign-4b245550a5e9.herokuapp.com/"
role="button">Get access</a>
role="button">Get access</a>
</div>
<div class="col-lg-5">
<h2 class="h4"><a href="https://medalign-4b245550a5e9.herokuapp.com/">Contribute instructions</a></h2>
Expand Down Expand Up @@ -129,4 +129,4 @@ <h3>Citation</h3>
</div>
</div>
</section> -->
{{ end }}
{{ end }}
2 changes: 1 addition & 1 deletion layouts/index.redirects
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
{{- range .Aliases }}
{{ . }} {{ $p.RelPermalink -}}
{{- end }}
{{- end -}}
{{- end -}}
2 changes: 1 addition & 1 deletion layouts/partials/footer/alert.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<div class="alert alert-primary fixed-bottom text-center" role="alert">
{{ .Site.Params.alertText | safeHTML }}
</div>
</div>
2 changes: 1 addition & 1 deletion layouts/partials/footer/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,4 @@
</div>
</div>
</div>
</footer>
</footer>
2 changes: 1 addition & 1 deletion layouts/partials/footer/script-footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,4 +96,4 @@
{{ if .Site.Params.options.flexSearch -}}
<script src="{{ $index.RelPermalink }}" integrity="{{ $index.Data.Integrity }}" crossorigin="anonymous" defer></script>
{{ end -}}
{{ end -}}
{{ end -}}
2 changes: 1 addition & 1 deletion layouts/partials/head/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
{{ block "head/seo" . }}{{ partial "head/seo.html" . }}{{ end }}
{{ block "head/favicons" . }}{{ partial "head/favicons.html" . }}{{ end }}
{{ block "head/script-header" . }}{{ partial "head/script-header.html" . }}{{ end }}
</head>
</head>
2 changes: 1 addition & 1 deletion layouts/partials/head/resource-hints.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
{{ if .Site.Params.options.kaTex -}}
<link rel="preload" as="font" href="{{ "fonts/KaTeX_Main-Regular.woff2" | absURL }}" type="font/woff2" crossorigin>
<link rel="preload" as="font" href="{{ "fonts/KaTeX_Math-Italic.woff2" | absURL }}" type="font/woff2" crossorigin>
{{ end -}}
{{ end -}}
2 changes: 1 addition & 1 deletion layouts/partials/head/structured-data.html
Original file line number Diff line number Diff line change
Expand Up @@ -207,4 +207,4 @@

]
}
</script>
</script>
2 changes: 1 addition & 1 deletion layouts/partials/head/stylesheet.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,4 @@
{{ $secureCSS := $css | resources.Fingerprint "sha512" -}}
<link rel="stylesheet" href="{{ $secureCSS.Permalink | relURL }}" integrity="{{ $secureCSS.Data.Integrity }}" crossorigin="anonymous">
{{ end -}}
<noscript><style>img.lazyload { display: none; }</style></noscript>
<noscript><style>img.lazyload { display: none; }</style></noscript>
2 changes: 1 addition & 1 deletion layouts/partials/head/twitter_cards.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
{{ end -}}
{{ end -}}
{{ end -}}
<meta name="twitter:image:alt" content="{{ .Title }}">
<meta name="twitter:image:alt" content="{{ .Title }}">
2 changes: 1 addition & 1 deletion layouts/partials/header/header.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@
{{ end -}}
</div>
</div>
</header>
</header>
2 changes: 1 addition & 1 deletion layouts/partials/main/blog-meta.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<p><small>Posted {{ .PublishDate.Format "January 2, 2006" }} by {{ if .Params.contributors -}}{{ range $index, $contributor := .Params.contributors }}{{ if gt $index 0 }} and {{ end }}<a class="stretched-link position-relative" href="{{ "/contributors/" | relURL }}{{ . | urlize }}/">{{ . }}</a>{{ end -}}{{ end -}}&nbsp;&hyphen;&nbsp;<strong>{{ .ReadingTime -}}&nbsp;min read</strong></small><p>
<p><small>Posted {{ .PublishDate.Format "January 2, 2006" }} by {{ if .Params.contributors -}}{{ range $index, $contributor := .Params.contributors }}{{ if gt $index 0 }} and {{ end }}<a class="stretched-link position-relative" href="{{ "/contributors/" | relURL }}{{ . | urlize }}/">{{ . }}</a>{{ end -}}{{ end -}}&nbsp;&hyphen;&nbsp;<strong>{{ .ReadingTime -}}&nbsp;min read</strong></small><p>
2 changes: 1 addition & 1 deletion layouts/partials/main/breadcrumb.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{{ with .Parent -}}
{{ partial "main/breadcrumb.html" . -}}
<li class="breadcrumb-item"><a href="{{ .RelPermalink }}">{{ if .IsHome }}Home{{ else }}{{ .Title }}{{ end }}</a></li>
{{ end -}}
{{ end -}}
2 changes: 1 addition & 1 deletion layouts/partials/main/docs-navigation.html
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@
</a>
{{ end -}}
</div>
{{ end -}}
{{ end -}}
2 changes: 1 addition & 1 deletion layouts/partials/main/headline-hash.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{{ . | replaceRE "(<h[2-9] id=\"([^\"]+)\".+)(</h[2-9]+>)" `${1}<a href="#${2}" class="anchor" aria-hidden="true">#</a> ${3}` | safeHTML }}
{{ . | replaceRE "(<h[2-9] id=\"([^\"]+)\".+)(</h[2-9]+>)" `${1}<a href="#${2}" class="anchor" aria-hidden="true">#</a> ${3}` | safeHTML }}
2 changes: 1 addition & 1 deletion layouts/partials/sidebar/docs-menu.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,4 +36,4 @@ <h3>{{ .Name }}</h3>
</ul>
{{ end -}}
{{ end -}}
{{ end -}}
{{ end -}}
2 changes: 1 addition & 1 deletion layouts/partials/sidebar/docs-toc.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
<h3>On this page</h3>
{{ .TableOfContents }}
</div>
{{ end -}}
{{ end -}}
2 changes: 1 addition & 1 deletion layouts/shortcodes/email.html
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<script type="text/javascript" nonce="dXNlcj0iaGVsbG8iLGRvbWFpbj0iaGVua3ZlcmxpbmRlLmNvbSIsZG9jdW1lbnQud3JpdGUodXNlcisiQCIrZG9tYWluKTs=">user="{{ with .Get "user" }}{{.}}{{ end }}",domain="{{ with .Get "domain" }}{{.}}{{ end }}",document.write(user+"@"+domain);</script><noscript>{{ with .Get "user" }}{{.}}{{ end }} at {{ with .Get "domain" }}{{.}}{{ end }}</noscript>
<script type="text/javascript" nonce="dXNlcj0iaGVsbG8iLGRvbWFpbj0iaGVua3ZlcmxpbmRlLmNvbSIsZG9jdW1lbnQud3JpdGUodXNlcisiQCIrZG9tYWluKTs=">user="{{ with .Get "user" }}{{.}}{{ end }}",domain="{{ with .Get "domain" }}{{.}}{{ end }}",document.write(user+"@"+domain);</script><noscript>{{ with .Get "user" }}{{.}}{{ end }} at {{ with .Get "domain" }}{{.}}{{ end }}</noscript>
2 changes: 1 addition & 1 deletion layouts/shortcodes/img-simple.html
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{{ $image := .Page.Resources.GetMatch (printf "*%s*" (.Get "src")) -}}
{{ $lqip := $image.Resize $.Site.Params.lqipWidth -}}
<img class="img-simple img-fluid lazyload blur-up{{ with .Get "class" }} {{.}}{{ end }}" src="{{ $lqip.RelPermalink }}" data-src="{{ $image.RelPermalink }}" width="{{ $image.Width }}" height="{{ $image.Height }}" {{ with .Get "alt" }}alt="{{.}}"{{ end }}>
<img class="img-simple img-fluid lazyload blur-up{{ with .Get "class" }} {{.}}{{ end }}" src="{{ $lqip.RelPermalink }}" data-src="{{ $image.RelPermalink }}" width="{{ $image.Width }}" height="{{ $image.Height }}" {{ with .Get "alt" }}alt="{{.}}"{{ end }}>
Loading

0 comments on commit 73e86bc

Please sign in to comment.