Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
33 changes: 33 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
name: ✅ Repo Checks

on:
push:
branches:
- main
pull_request:

permissions:
contents: read

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
checks:
name: Run repo checks
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v7

- name: Set up Python
uses: actions/setup-python@v6
with:
python-version: "3.13"

- name: Install check dependencies
run: pip install -r scripts/requirements.txt

- name: Run checks
run: python scripts/check.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"metadata": {
"application/vnd.databricks.v1+cell": {
"cellMetadata": {},
"inputWidgets": {},
"nuid": "019a2e29-26c8-4cdd-8d6b-88de27b95384",
"showTitle": false,
"tableResultSettingsMap": {},
"title": ""
}
},
"metadata": {},
"source": [
"# Acknowledges Strength Evaluator\n",
"\n",
Expand All @@ -35,16 +26,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"application/vnd.databricks.v1+cell": {
"cellMetadata": {},
"inputWidgets": {},
"nuid": "1958719e-0bd2-43fa-a6a0-ca1d090da428",
"showTitle": false,
"tableResultSettingsMap": {},
"title": ""
}
},
"metadata": {},
"outputs": [],
"source": [
"import getpass\n",
Expand Down Expand Up @@ -80,16 +62,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"application/vnd.databricks.v1+cell": {
"cellMetadata": {},
"inputWidgets": {},
"nuid": "c2ba0d01-9d12-40f7-9057-22df59eaeb05",
"showTitle": true,
"tableResultSettingsMap": {},
"title": "Load config + verify prompt hashes"
}
},
"metadata": {},
"outputs": [],
"source": [
"# -------------------------------------------------------------------------\n",
Expand Down Expand Up @@ -144,16 +117,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"application/vnd.databricks.v1+cell": {
"cellMetadata": {},
"inputWidgets": {},
"nuid": "4e8def3b-028c-4b71-acee-13fb1553b2ef",
"showTitle": true,
"tableResultSettingsMap": {},
"title": "Evaluator function (config-driven)"
}
},
"metadata": {},
"outputs": [],
"source": [
"_STEP = CONFIG[\"steps\"][0]\n",
Expand Down Expand Up @@ -220,16 +184,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"application/vnd.databricks.v1+cell": {
"cellMetadata": {},
"inputWidgets": {},
"nuid": "45aff123-c2d0-4041-9737-f06ebbdceee4",
"showTitle": true,
"tableResultSettingsMap": {},
"title": "Smoke test on a sample"
}
},
"metadata": {},
"outputs": [],
"source": [
"sample_student_text = \"\"\"Some people think AI-powered pets are a good alternative to real pets because they could help around the house etc.\"\"\"\n",
Expand Down Expand Up @@ -273,16 +228,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"application/vnd.databricks.v1+cell": {
"cellMetadata": {},
"inputWidgets": {},
"nuid": "421b04bd-a7bb-41c7-ba8b-0716ae03ff82",
"showTitle": true,
"tableResultSettingsMap": {},
"title": "Sniff-test fixture runner"
}
},
"metadata": {},
"outputs": [],
"source": [
"fixtures_path = ASSETS_DIR / CONFIG[\"fixtures\"][\"sniff_test_path\"]\n",
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"metadata": {
"application/vnd.databricks.v1+cell": {
"cellMetadata": {},
"inputWidgets": {},
"nuid": "019a2e29-26c8-4cdd-8d6b-88de27b95384",
"showTitle": false,
"tableResultSettingsMap": {},
"title": ""
}
},
"metadata": {},
"source": [
"# Anchored in Student Response Evaluator\n",
"\n",
Expand All @@ -35,16 +26,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"application/vnd.databricks.v1+cell": {
"cellMetadata": {},
"inputWidgets": {},
"nuid": "1958719e-0bd2-43fa-a6a0-ca1d090da428",
"showTitle": false,
"tableResultSettingsMap": {},
"title": ""
}
},
"metadata": {},
"outputs": [],
"source": [
"import getpass\n",
Expand Down Expand Up @@ -80,16 +62,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"application/vnd.databricks.v1+cell": {
"cellMetadata": {},
"inputWidgets": {},
"nuid": "c2ba0d01-9d12-40f7-9057-22df59eaeb05",
"showTitle": true,
"tableResultSettingsMap": {},
"title": "Load config + verify prompt hashes"
}
},
"metadata": {},
"outputs": [],
"source": [
"# -------------------------------------------------------------------------\n",
Expand Down Expand Up @@ -144,16 +117,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"application/vnd.databricks.v1+cell": {
"cellMetadata": {},
"inputWidgets": {},
"nuid": "4e8def3b-028c-4b71-acee-13fb1553b2ef",
"showTitle": true,
"tableResultSettingsMap": {},
"title": "Evaluator function (config-driven)"
}
},
"metadata": {},
"outputs": [],
"source": [
"_STEP = CONFIG[\"steps\"][0]\n",
Expand Down Expand Up @@ -220,16 +184,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"application/vnd.databricks.v1+cell": {
"cellMetadata": {},
"inputWidgets": {},
"nuid": "45aff123-c2d0-4041-9737-f06ebbdceee4",
"showTitle": true,
"tableResultSettingsMap": {},
"title": "Smoke test on a sample"
}
},
"metadata": {},
"outputs": [],
"source": [
"sample_student_text = \"\"\"Some people think AI-powered pets are a good alternative to real pets because they could help around the house etc.\"\"\"\n",
Expand Down Expand Up @@ -273,16 +228,7 @@
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"application/vnd.databricks.v1+cell": {
"cellMetadata": {},
"inputWidgets": {},
"nuid": "421b04bd-a7bb-41c7-ba8b-0716ae03ff82",
"showTitle": true,
"tableResultSettingsMap": {},
"title": "Sniff-test fixture runner"
}
},
"metadata": {},
"outputs": [],
"source": [
"fixtures_path = ASSETS_DIR / CONFIG[\"fixtures\"][\"sniff_test_path\"]\n",
Expand Down
Loading