Skip to content
Tool to score GOV.UK search results for relevance
Ruby JavaScript HTML CSS Gherkin Shell Dockerfile
Branch: master
Clone or download

Latest commit

Fetching latest commit…
Cannot retrieve the latest commit at this time.

Files

Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
db
docs
features
lib
log
public
script
spec
vendor/assets
.dockerignore
.gitignore
.rspec
.rubocop.yml
.ruby-version
.scss-lint.yml
Dockerfile
Gemfile
Gemfile.lock
Jenkinsfile
LICENCE.txt
Procfile
README.md
Rakefile
app.json
config.ru
judgements.sh
manifest.yml
package.json
staging-manifest.yml
startup.sh
yarn.lock

README.md

GOV.UK Search Relevance Scoring Tool

A tool that can be used to collect manual relevance judgements from users as they search gov.uk.

Search relevance screenshot

Dependencies

Scores are written to a postgres database. So before you can you run the tool locally postgres must be installed and set up.

$ brew install postgresql
$ brew services start postgresql

Running the tool locally

$ ./startup.sh --live

Accessing the data

The scores can be pulled to your local machine via the cloud foundry plugin conduit. Before running these commands you will need to be added to the appropriate organisation on paas.

  1. Raise a support ticket to be added
  2. Install the CF CLI
  3. Login to Cloud Foundry
  4. Select the organisation
  5. Select the space
  6. Get the service name by running:
$ cf services
  1. Then run:
$ cf conduit SERVICE_NAME -- pg_dump --file NAME_YOU_CHOOSE
You can’t perform that action at this time.