Skip to content

Commit 576a137

Browse files
authored
Main issue templates (#69)
* remove extra params * fix correct workspace type * remove extra type declarations * add issue template
1 parent cf5962e commit 576a137

File tree

10 files changed

+276
-27
lines changed

10 files changed

+276
-27
lines changed

.github/ISSUE_TEMPLATE/1-bug.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: Bug Report
2+
description: Report a bug in the project
3+
title: "[BUG]: "
4+
labels: Bug
5+
body:
6+
- type: dropdown
7+
id: package
8+
attributes:
9+
label: Affected Package
10+
description: Select the affected package (will be reported as
11+
@instructure.ai/[package])
12+
options:
13+
- shared-configs
14+
- nutritionfacts
15+
- roadmap
16+
- site
17+
default: 0
18+
validations:
19+
required: true
20+
- type: textarea
21+
id: description
22+
attributes:
23+
label: Description
24+
description: Provide a clear and concise description of the bug.
25+
placeholder: Describe the bug here...
26+
validations:
27+
required: true

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: true

apps/nutritionfacts/src/assets/cache.csv

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,4 +6,5 @@ canvasGradingAssistance,2025.09.10,Grading Assistance,"AI powered automatic grad
66
discussionInsights,2025.09.12,Discussion Insights,"Discussion Insights uses AI to evaluate student discussion replies, highlight relevant contributions, and flag those that may need instructor review.",Haiku 3,Anthropic Claude models are provided via Amazon Bedrock Foundation Models (FMs).,No,Course,"Discussion topic, prompt, and student replies are used.",No user data is stored or reused by the model.,Logs data,Model evaluations and reply labels are logged for debugging and troubleshooting purposes.,Global,,Exposed,"Known PII is masked before being sent to the model, though any PII present in the discussion reply is not and may be shared with the model.",Yes,Yes,Instructors may review AI-generated evaluations or review posts directly.,"Model responses are logged for quality assurance, and responses with low confidence are flagged ""Needs Review"" to encourage human intervention.",The model may misclassify some nuanced replies.,"Instructors are able to quickly assess the quality of student replies, identify low-effor or off-topic contributions, and focus their attention to where it is needed most.",Canvas,2
77
smartSearch,2025.09.12,Smart Search,Natural language search of course content for students and instructors.,Cohere Embed Multilingual,Cohere models are provided via Amazon Bedrock Foundation Models (FMs).,No,Course,Course content is indexed by the model and then stored in the Canvas database.,Data is not stored or reused by the model. Indexed course content is stored in the Canvas database.,Does not log data,,Global,,Not Exposed,"PII in course content may be indexed, but no PII is intentionally sent to the model.",Yes,Yes,Users are presented with a list of results related to their search query and can act or not act on them.,,Search results may be incorrectly sorted or may not be relevant to the search term.,"Student are able to quicly find answers to questions, and instructors are able to quickly navigate their courses.",Canvas,2
88
askyourdata,2025.09.12,Ask Your Data,AI-powered query tool enables users to ask natural language questions and receive textual or visual responses with detailed explanations of the methodology.,Doowii (multiple),"Doowii is a third-party sub-processor for Intelligent Insights. Doowii's tools use OpenAI GPT-4o, GPT-3.5 Turbo, and Claude Sonnet 3.5",No,Other,"Doowii is trained on the Canvas LMS database schema, and receives no data from Canvas. The user's prompt and heuristics (such as summary statistics) are shared with the model to generate a response.",Data is retained through the life of your contract with Instructure.,Logs data,,Global,,Exposed,"Prompt, summary statistics.",Yes,Yes,Ask your data returns a methodology description along with a generated query. Users have the ability to edit the generated SQL directly.,"Questions are scoped to the domain only, highly ambiguous terms ask for clarification.",Incorrect interpretation of the question. Inaccurate SQL may be generated. Suggested questions or methodologies may not be relevant.,Provide accurate data retrieval and analysis through natural language prompting.,Intelligent Insights,2
9-
canvasDiscussionSummaries,2025.09.12,Discussion Summaries,"Discussion summaries of key points, questions, and insights.",Haiku 3,Anthropic Claude models are provided via Amazon Bedrock Foundation Models (FMs).,No,Course,Discussion prompt and replies.,Data is not stored or reused by the model.,Logs data,Summaries are logged in the Canvas database for review and reuse.,Global,,Not Exposed,"Pii in discussion replies may be sent to the model, but no PII is intentionally sent to the model.",Yes,Yes,Instructors may regenerate summaries or fine-tune them with additional instructions.,,Summaries may not capture all desired information.,Summaries allow discussion topics to be used in large-format courses and other environments where discussions were previously infeasible.,Canvas,2
9+
canvasDiscussionSummaries,2025.09.12,Discussion Summaries,"Discussion summaries of key points, questions, and insights.",Haiku 3,Anthropic Claude models are provided via Amazon Bedrock Foundation Models (FMs).,No,Course,Discussion prompt and replies.,Data is not stored or reused by the model.,Logs data,Summaries are logged in the Canvas database for review and reuse.,Global,,Not Exposed,"Pii in discussion replies may be sent to the model, but no PII is intentionally sent to the model.",Yes,Yes,Instructors may regenerate summaries or fine-tune them with additional instructions.,,Summaries may not capture all desired information.,Summaries allow discussion topics to be used in large-format courses and other environments where discussions were previously infeasible.,Canvas,2
10+
BCEAltText,2025.10.01,Block Content Editor Alt Text Generator,,Haiku 3,Anthropic Claude models are provided via Amazon Bedrock Foundation Models (FMs).,No,Course,Content Editor Images.,Model responses are stored for debugging purposes.,Logs data,"Request, response, and feedback data is logged to assist in troubleshooting.",Global,,Not Exposed,,No,Yes,"User initiated, User must confirm output.",,Alt text might not always be accurate. ,An accessible Alt Text description of the image is generated.,Canvas,2

apps/nutritionfacts/src/assets/cache.json

Lines changed: 120 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"cache": {
3-
"sha256": "ab4dd4bef0792fd0e5d98e7985c93184423b3dd773e6cd305050dd7295ed3228",
4-
"lastUpdated": "1758643492",
5-
"count": 9
3+
"sha256": "718e0ce0bbb49165aadeffc5cec3802b40414990ce756efa7e97a0a3b68f6fe2",
4+
"lastUpdated": "1759349310",
5+
"count": 10
66
},
77
"features": {
88
"canvasinboxtranslation": {
@@ -1057,6 +1057,123 @@
10571057
"permissions": 2,
10581058
"revision": "2025.09.12"
10591059
}
1060+
},
1061+
"bcealttext": {
1062+
"sha256": "357dbdae5027f884c3ba0be04b700880b3f302cbced8eff6120a672decfde34d",
1063+
"lastUpdated": "1759349310",
1064+
"id": "bcealttext",
1065+
"name": "Block Content Editor Alt Text Generator",
1066+
"nutritionFacts": {
1067+
"data": [
1068+
{
1069+
"blockTitle": "Model & Data",
1070+
"segmentData": [
1071+
{
1072+
"description": "The foundational AI on which further training and customizations are built.",
1073+
"descriptionHint": "Describe the base model",
1074+
"segmentTitle": "Base Model",
1075+
"value": "Haiku 3",
1076+
"valueDescription": "Anthropic Claude models are provided via Amazon Bedrock Foundation Models (FMs).",
1077+
"valueHint": "Input base model"
1078+
},
1079+
{
1080+
"description": "Indicates the AI model has been given customer data in order to improve its results.",
1081+
"segmentTitle": "Trained with User Data",
1082+
"value": "No",
1083+
"valueHint": "Yes / No"
1084+
},
1085+
{
1086+
"description": "Indicates which training or operational content was given to the model.",
1087+
"descriptionHint": "Describe the data shared",
1088+
"segmentTitle": "Data Shared with Model",
1089+
"value": "Course",
1090+
"valueDescription": "Content Editor Images.",
1091+
"valueHint": "Select shared data set"
1092+
}
1093+
]
1094+
},
1095+
{
1096+
"blockTitle": "Privacy & Compliance",
1097+
"segmentData": [
1098+
{
1099+
"description": "How long the model stores customer data.",
1100+
"descriptionHint": "Describe the data retention period",
1101+
"segmentTitle": "Data Retention",
1102+
"valueDescription": "Model responses are stored for debugging purposes."
1103+
},
1104+
{
1105+
"description": "Recording the AI's performance for auditing, analysis, and improvement.",
1106+
"descriptionHint": "Describe the data logging practices",
1107+
"segmentTitle": "Data Logging",
1108+
"value": "Logs data",
1109+
"valueDescription": "Request, response, and feedback data is logged to assist in troubleshooting.",
1110+
"valueHint": "Logs data / Does not log data"
1111+
},
1112+
{
1113+
"description": "The locations where the AI model is officially available and supported.",
1114+
"descriptionHint": "Describe the supported regions",
1115+
"segmentTitle": "Regions Supported",
1116+
"value": "Global",
1117+
"valueDescription": "",
1118+
"valueHint": "Select region(s)"
1119+
},
1120+
{
1121+
"description": "Sensitive data that can be used to identify an individual.",
1122+
"descriptionHint": "Describe the handling of PII",
1123+
"segmentTitle": "PII",
1124+
"value": "Not Exposed",
1125+
"valueDescription": "",
1126+
"valueHint": "Exposed / Not Exposed"
1127+
}
1128+
]
1129+
},
1130+
{
1131+
"blockTitle": "Outputs",
1132+
"segmentData": [
1133+
{
1134+
"description": "The ability to turn the AI on or off within the product.",
1135+
"segmentTitle": "AI Settings Control",
1136+
"value": "No",
1137+
"valueHint": "Yes / No"
1138+
},
1139+
{
1140+
"description": "Indicates if a human is involved in the AI's process or output.",
1141+
"descriptionHint": "Describe the human involvement",
1142+
"segmentTitle": "Human in the Loop",
1143+
"value": "Yes",
1144+
"valueDescription": "User initiated, User must confirm output.",
1145+
"valueHint": "Yes / No"
1146+
},
1147+
{
1148+
"description": "Preventative safety mechanisms or limitations built into the AI model.",
1149+
"descriptionHint": "Describe the guardrails",
1150+
"segmentTitle": "Guardrails",
1151+
"valueDescription": ""
1152+
},
1153+
{
1154+
"description": "Any risks the model may pose to the user.",
1155+
"descriptionHint": "Describe the expected risks",
1156+
"segmentTitle": "Expected Risks",
1157+
"valueDescription": "Alt text might not always be accurate. "
1158+
},
1159+
{
1160+
"description": "The specific results the AI model is meant to achieve.",
1161+
"descriptionHint": "Describe the intended outcomes",
1162+
"segmentTitle": "Intended Outcomes",
1163+
"valueDescription": "An accessible Alt Text description of the image is generated."
1164+
}
1165+
]
1166+
}
1167+
],
1168+
"description": "",
1169+
"descriptionHint": "Describe your feature",
1170+
"group": "Canvas",
1171+
"id": "BCEAltText",
1172+
"name": "Block Content Editor Alt Text Generator",
1173+
"nameHint": "Feature Name",
1174+
"permissions": 2,
1175+
"revision": "2025.10.01"
1176+
}
10601177
}
10611178
}
10621179
}

package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,8 @@
1717
"terser": "^5.44.0",
1818
"vite": "^7.1.7",
1919
"vite-node": "^3.2.4",
20-
"vitest": "^3.2.4"
20+
"vitest": "^3.2.4",
21+
"yaml": "^2.8.1"
2122
},
2223
"version": "0.1.0",
2324
"name": "@instructure.ai/shared-configs",
@@ -33,6 +34,7 @@
3334
"test": "pnpm -r test",
3435
"typecheck": "pnpm -r typecheck",
3536
"preview": "vite-node ./scripts/preview.mts",
37+
"update-issues": "vite-node ./scripts/issues.mts",
3638
"workspace": "vite-node ./scripts/info.mts"
3739
},
3840
"exports": {

pnpm-lock.yaml

Lines changed: 29 additions & 18 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

scripts/build.mts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ import {
1111
unknownError,
1212
Workspace,
1313
} from "@instructure.ai/shared-configs/workspace";
14+
import { updateIssues } from "./issues.mts";
1415

1516
const main = async () => {
1617
const { command, output, args } = Workspace();
@@ -127,6 +128,7 @@ const main = async () => {
127128
Valid commands are: ${buildCommands.join(", ")}`);
128129
}
129130
}
131+
await updateIssues();
130132
} catch (error) {
131133
exitWithError("Build failed:", error);
132134
}

scripts/info.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import {
77
} from "@instructure.ai/shared-configs/workspace";
88

99
const main = async () => {
10-
const { output } = Workspace(["workspace"], "info");
10+
const { output } = Workspace(["workspace"]);
1111
exec(() => {
1212
console.log(output);
1313
});

0 commit comments

Comments
 (0)