Skip to content

Commit

Permalink
deploy: 843e1b3
Browse files Browse the repository at this point in the history
  • Loading branch information
jbusecke committed Jul 25, 2024
1 parent 51d3eb0 commit aac4fa9
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 49c735af8595e96a2f7c237e5ace9b0a
config: 3940b7d778a84ae8ee92c2229fde81e6
tags: 645f666f9bcd5a90fca523b33c5a78b7
2 changes: 1 addition & 1 deletion README.html
Original file line number Diff line number Diff line change
Expand Up @@ -436,7 +436,7 @@ <h2>Demo Notebooks<a class="headerlink" href="#demo-notebooks" title="Link to th
<section id="online-testing">
<h2>Online Testing<a class="headerlink" href="#online-testing" title="Link to this heading">#</a></h2>
<ul class="simple">
<li><p><a class="reference external" href="https://github.com/leap-stc/ClimSim/tree/online_testing/downstream_test">Online Testing</a></p></li>
<li><p><a class="reference external" href="https://github.com/leap-stc/ClimSim/online_testing.html">Online Testing</a></p></li>
</ul>
</section>
<section id="project-structure">
Expand Down
6 changes: 3 additions & 3 deletions _sources/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,10 @@ We implement a range of deterministic and stochastic regression baselines to hig
* [Multi-Layer Perceptron (MLP) Example](https://leap-stc.github.io/ClimSim/demo_notebooks/mlp_example.html)
* [Convolutional Neural Network (CNN) Example](https://leap-stc.github.io/ClimSim/demo_notebooks/cnn_example.html)
* [Water Conservation Example](https://leap-stc.github.io/ClimSim/demo_notebooks/water_conservation.html)

## Online Testing

* [Online Testing](https://github.com/leap-stc/ClimSim/tree/online_testing/downstream_test)
## Online Testing

* [Online Testing](https://github.com/leap-stc/ClimSim/online_testing.html)

## Project Structure

Expand Down
7 changes: 4 additions & 3 deletions _static/searchtools.js
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ const Search = {

htmlToText: (htmlString, anchor) => {
const htmlElement = new DOMParser().parseFromString(htmlString, 'text/html');
for (const removalQuery of [".headerlinks", "script", "style"]) {
for (const removalQuery of [".headerlink", "script", "style"]) {
htmlElement.querySelectorAll(removalQuery).forEach((el) => { el.remove() });
}
if (anchor) {
Expand Down Expand Up @@ -328,13 +328,14 @@ const Search = {
for (const [title, foundTitles] of Object.entries(allTitles)) {
if (title.toLowerCase().trim().includes(queryLower) && (queryLower.length >= title.length/2)) {
for (const [file, id] of foundTitles) {
let score = Math.round(100 * queryLower.length / title.length)
const score = Math.round(Scorer.title * queryLower.length / title.length);
const boost = titles[file] === title ? 1 : 0; // add a boost for document titles
normalResults.push([
docNames[file],
titles[file] !== title ? `${titles[file]} > ${title}` : title,
id !== null ? "#" + id : "",
null,
score,
score + boost,
filenames[file],
]);
}
Expand Down
Binary file modified objects.inv
Binary file not shown.
2 changes: 1 addition & 1 deletion searchindex.js

Large diffs are not rendered by default.

0 comments on commit aac4fa9

Please sign in to comment.