← Files Course Criteria ComparisonARCHIVED FILE

EXAMPLE.json

1.71 KB · Nov 3, 2026 · 12:13 UTC

↓ Download file

{
  "input": {
    "criteria": [
      {
        "criterion": "Schedule",
        "weight": 2
      },
      {
        "criterion": "Project work",
        "weight": 1
      }
    ],
    "programmes": [
      {
        "programme": "Programme A",
        "facts": [
          {
            "criterion": "Schedule",
            "rating": 4,
            "source": "Provided timetable: evening sessions."
          },
          {
            "criterion": "Project work",
            "rating": 3,
            "source": "Provided syllabus: one project."
          }
        ]
      },
      {
        "programme": "Programme B",
        "facts": [
          {
            "criterion": "Schedule",
            "rating": 5,
            "source": "Provided timetable: flexible sessions."
          }
        ]
      }
    ]
  },
  "expected": {
    "summary": "1 of 2 programmes have all positive-weight criteria supplied.",
    "rows": [
      {
        "programme": "Programme A",
        "weightedScorePercent": 73.33,
        "suppliedWeightCoveragePercent": 100,
        "missingCriteria": "",
        "calculationAndSources": "Schedule: 4/5 × 2; Provided timetable: evening sessions. | Project work: 3/5 × 1; Provided syllabus: one project."
      },
      {
        "programme": "Programme B",
        "weightedScorePercent": null,
        "suppliedWeightCoveragePercent": 66.67,
        "missingCriteria": "Project work",
        "calculationAndSources": "Schedule: 5/5 × 2; Provided timetable: flexible sessions. | Project work: missing (weight 1)"
      }
    ],
    "warnings": [
      "Missing programme facts are not treated as zero ratings. Source text is supplied by you; no live programme, quality or admission facts are verified."
    ]
  }
}

SHA-256: 960719512cd6b725581d02f4af1b7ecb1e949007b11fe500146ed03684610908