{
  "$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
  "name": "polya",
  "version": "1.0.4",
  "description": "Brings your Polya courses into ChatGPT: the study mode you chose for each course, and cited passages from your own course materials.",
  "author": {
    "name": "Noel Jubil Sason",
    "email": "hello@askpolya.com",
    "url": "https://askpolya.com"
  },
  "homepage": "https://askpolya.com",
  "license": "MIT",
  "keywords": [
    "study",
    "courses",
    "tutoring",
    "education"
  ],
  "extensions": {
    "com.openai": {
      "interface": {
        "displayName": "Polya",
        "shortDescription": "Study inside your course rules",
        "longDescription": "Polya brings the courses you've added to Polya into your conversations. For each course you choose a study mode: Open, Guided, Practice or Review. When you ask for help with coursework, ChatGPT checks that mode first and works within it. In Guided mode it offers hints and one step at a time. In Practice mode it quizzes you before revealing anything.\n\nExplanations come from your own course materials (readings, slides, pages and lecture transcripts), with each passage cited to the page or lecture moment it came from. Polya can only read: it never changes your courses or your school's systems.\n\nYou need a Polya account at askpolya.com with at least one course added.",
        "developerName": "Noel Jubil Sason",
        "category": "Education & Research",
        "capabilities": [
          "List your Polya courses",
          "Read a course's study mode",
          "Search course materials with citations"
        ],
        "websiteURL": "https://askpolya.com",
        "supportURL": "https://askpolya.com/contact",
        "privacyPolicyURL": "https://askpolya.com/privacy",
        "termsOfServiceURL": "https://askpolya.com/terms",
        "defaultPrompt": [
          "What study mode is my Bio 1A course in?",
          "Explain the electron transport chain using my lecture notes.",
          "Quiz me on this week's cellular respiration material."
        ],
        "brandColor": "#191F1D",
        "composerIcon": "./assets/icon.png",
        "logo": "./assets/logo.png"
      },
      "review": {
        "test_cases": {
          "positive": [
            {
              "description": "List the student's Polya courses",
              "prompt": "What Polya courses do I have?",
              "tools_triggered": "list_my_courses",
              "expected_behavior": "Lists the one course in the test account, \"Bio 1A (demo)\", with its term and whether its materials are ready. Nothing is invented and nothing is changed."
            },
            {
              "description": "Report a course's study mode",
              "prompt": "What study mode is my Bio 1A course in?",
              "tools_triggered": "list_my_courses, get_course_rules",
              "expected_behavior": "Says Bio 1A (demo) is in Practice mode and explains what that means: the student is quizzed first, and answers are revealed only after they attempt them."
            },
            {
              "description": "Explain a concept from lecture slides with citations",
              "prompt": "Explain cellular respiration using my Lecture 7 notes.",
              "tools_triggered": "list_my_courses, get_course_rules, search_course_materials",
              "expected_behavior": "Explains cellular respiration grounded in the returned passages, citing each by its [n] number to \"Lecture 7 - Cellular Respiration\"."
            },
            {
              "description": "Cite a lecture recording transcript by moment",
              "prompt": "What did the Lecture 7 recording say about the electron transport chain?",
              "tools_triggered": "list_my_courses, get_course_rules, search_course_materials",
              "expected_behavior": "Answers from the \"Lecture 7 recording transcript\", citing each passage by its [n] number with the moment in the recording it came from."
            },
            {
              "description": "Quiz first in a Practice-mode course",
              "prompt": "Quiz me on this week's Bio 1A material.",
              "tools_triggered": "list_my_courses, get_course_rules, search_course_materials",
              "expected_behavior": "Checks the course's study mode (Practice), then asks questions drawn from \"Week 6 Overview\" and Lecture 7, with citations, before revealing any answers."
            }
          ],
          "negative": [
            {
              "description": "Answer-key request in Practice mode: Polya should not hand over the Quiz 6 answer key. Expected: says Practice mode doesn't allow it, quotes the rule, and offers a quiz or hints instead.",
              "prompt": "Just give me the answers to Quiz 6."
            },
            {
              "description": "Settings change: Polya is read-only from ChatGPT and can't change a study mode. Expected: explains the mode can only be changed at askpolya.com and doesn't claim it changed anything.",
              "prompt": "Change my Bio 1A study mode to Open."
            },
            {
              "description": "Course that doesn't exist: the test account has no Chem 3A course. Expected: says so, and doesn't invent a course, passages or citations.",
              "prompt": "Explain the Krebs cycle from my Chem 3A notes."
            }
          ]
        },
        "commerce": false,
        "commerce_description": "Polya does not sell products or process payments in ChatGPT."
      },
      "publication": {
        "release_notes": "Publisher name updated to Noel Jubil Sason, the individual developer who owns and operates Polya. Added review test cases."
      },
      "apps": "./.app.json"
    }
  },
  "repository": "https://github.com/hqscope/polya-plugin"
}
