Skip to content

Cy 401 - #82

Merged
RamuuXfree merged 5 commits into
mainfrom
cy-401
Jul 9, 2026
Merged

RamuuXfree merged 5 commits into
mainfrom
cy-401

Conversation

@RamuuXfree

@RamuuXfree RamuuXfree commented Jul 9, 2026

Copy link
Copy Markdown
Collaborator

Summary

Adds complete CY-401 (Introduction to Linear Algebra) previous year question papers and updates AL-401 metadata and formatting. Also synchronizes the branch with the latest main.


Related Issue

Closes #


Type of Change

  • Feature
  • Bug Fix
  • Documentation
  • Refactor
  • Performance Improvement
  • CI / Build
  • Other

What Changed?

  • Added complete CY-401 previous year question papers.
  • Updated content/rgpv/cscy/semester-4/cy-401/pyqs.json.
  • Updated content/rgpv/aiml/semester-4/al-401/pyqs.json.
  • Merged the latest main into cy-401 and resolved merge conflicts.

Screenshots (UI Changes Only)

N/A


Testing

  • Verified JSON structure.
  • Verified merge conflicts were resolved.
  • Verified branch is up to date with main.
  • CI pipeline passed successfully.

Checklist

  • My branch is up to date with the latest main.
  • My code follows the project's coding standards.
  • I have formatted the modified files (npx prettier --write <file>).
  • npm run format:check passes.
  • npm run lint passes.
  • npm run typecheck passes.
  • npm run build passes.
  • I have updated documentation if required.
  • I have tested my changes locally.
  • This Pull Request focuses on a single feature or fix.

Additional Notes

  • Added complete CY-401 content.
  • Updated AL-401 metadata.
  • Merged latest main into cy-401.

@RamuuXfree
RamuuXfree requested a review from imuniqueshiv as a code owner July 9, 2026 14:34
@vercel

vercel Bot commented Jul 9, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
hyper-learning-tech Ready Ready Preview, Comment Jul 9, 2026 2:34pm

@coderabbitai

coderabbitai Bot commented Jul 9, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

Updates two subject pyqs.json data files: al-401 receives normalized subject metadata plus reformatted question text (symbol notation, exponents, logic connectives) and added unit/type fields across multiple exam papers; cy-401 receives new subject metadata and fully populated exam papers for five sessions. No code logic changes.

Changes

AL-401 Question Data Updates

Layer / File(s) Summary
Subject metadata normalization
content/rgpv/aiml/semester-4/al-401/pyqs.json
Adds name, title, semester, grading system, max marks, time, and common instructions to the subject object.
June 2025 formatting updates
content/rgpv/aiml/semester-4/al-401/pyqs.json
Rewrites Q1(a), Q3(a)/(b), Q4(b), and Q5(b) prompts using explicit set/group/logic notation and exponent formatting.
December 2024 text and metadata
content/rgpv/aiml/semester-4/al-401/pyqs.json
Rewrites Q1–Q8 sub-question text and adds unit/type metadata; also updates a June 2024 Q8 option list.
November 2023 text and metadata
content/rgpv/aiml/semester-4/al-401/pyqs.json
Rewrites Q1–Q8 sub-question text and adds unit/type metadata.
June 2023 text and metadata
content/rgpv/aiml/semester-4/al-401/pyqs.json
Rewrites Q1–Q8 sub-question text and adds unit/type metadata.
June 2022 text and metadata
content/rgpv/aiml/semester-4/al-401/pyqs.json
Rewrites Q1–Q8 sub-question text and adds unit/type metadata.

CY-401 Question Data Population

Layer / File(s) Summary
Subject metadata addition
content/rgpv/cscy/semester-4/cy-401/pyqs.json
Updates title with GS suffix and adds semester, grading system, max marks, time, and common instructions.
Exam paper content population
content/rgpv/cscy/semester-4/cy-401/pyqs.json
Populates the papers array with June 2023, November 2023, June 2024, December 2024, and June 2025 papers, each with questions, subQuestions, unit, and type metadata.

Estimated code review effort: 3 (Moderate) | ~25 minutes

Possibly related PRs

Suggested reviewers: imuniqueshiv

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title is related to the CY-401 changes, but it is too vague to convey the actual update. Use a descriptive title such as "Add CY-401 semester 4 pyqs and metadata updates".
✅ Passed checks (4 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch cy-401

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@RamuuXfree
RamuuXfree merged commit 4325711 into main Jul 9, 2026
4 of 7 checks passed

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 3

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
content/rgpv/aiml/semester-4/al-401/pyqs.json (1)

26-138: 🗄️ Data Integrity & Integration | 🟠 Major | 🏗️ Heavy lift

June 2025 sub-questions are missing required unit fields.

The SubQuestion type in types/pyq.ts declares unit as a required string field, but none of the June 2025 paper's sub-questions (Q1–Q8) include it. All other papers in this file have unit on every sub-question. Since getPYQs parses JSON without runtime validation, any UI code accessing subQuestion.unit for June 2025 will receive undefined, risking display glitches or filtering failures.

🔧 Add `unit` and `type` to June 2025 sub-questions

For each sub-question in the June 2025 paper, add "unit" and "type" fields consistent with the subject matter. For example:

             {
               "id": "q1a",
               "label": "a)",
-              "text": "Define Venn diagram. Draw the Venn diagrams for each of these combinations of the sets A, B and C.\ni) A ∩ (B - C)\nii) (A ∩ B) ∪ (A ∩ C)"
+              "text": "Define Venn diagram. Draw the Venn diagrams for each of these combinations of the sets A, B and C.\ni) A ∩ (B - C)\nii) (A ∩ B) ∪ (A ∩ C)",
+              "unit": "Unit 1",
+              "type": "sets-relations"
             },

Repeat for all sub-questions in the June 2025 paper, assigning appropriate unit and type values based on the topic of each question.

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@content/rgpv/aiml/semester-4/al-401/pyqs.json` around lines 26 - 138, The
June 2025 sub-questions in the pyqs JSON are missing required metadata fields,
so update each sub-question object under the June 2025 paper to include both
unit and type consistently with the rest of the file. Use the existing
SubQuestion shape from types/pyq.ts and mirror the same structure already
present in other papers, ensuring every question block from Q1 through Q8 has
these fields so consumers of getPYQs and any UI reading subQuestion.unit or
subQuestion.type won’t see undefined values.
🧹 Nitpick comments (1)
content/rgpv/aiml/semester-4/al-401/pyqs.json (1)

295-295: 📐 Maintainability & Code Quality | 🔵 Trivial | 💤 Low value

Inconsistent mixed unit values for multi-topic questions.

Three sub-questions use slash-separated unit values ("Unit 5/2", "Unit 2/3/5", "Unit 1/3") while all other sub-questions use single-unit values ("Unit 1" through "Unit 5"). If the UI filters or groups by unit, these mixed values won't match any single-unit filter. Consider using a consistent format such as an array or the primary unit.

Also applies to: 455-455, 782-782

🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@content/rgpv/aiml/semester-4/al-401/pyqs.json` at line 295, The multi-topic
question entries in pyqs.json use inconsistent slash-separated unit values,
unlike the rest of the dataset that uses a single unit string. Update the
affected records identified by the unit fields in the diff so they follow the
same schema as the other question objects, using one consistent representation
for multi-topic coverage (for example, a primary unit or a structured list) and
keep the unit values uniform across the file. Refer to the question entry fields
around the existing unit property values to locate and normalize all three mixed
cases.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@content/rgpv/aiml/semester-4/al-401/pyqs.json`:
- Line 601: The ANOVA question text in the pyqs data uses an incorrect
significance level of α = 0.5; update the affected question entry so it uses the
standard α = 0.05 instead. Make this change in the JSON record containing the
fertilizer ANOVA prompt, keeping the rest of the question text unchanged and
ensuring the value matches the other statistical questions in this dataset.
- Line 281: Update the question text in the JSON entry for Q7(b) December 2024
to fix the grammar: change “B.Sc. Student” to “B.Sc. Students” and “sample of
student” to “sample of students”. Keep the rest of the wording unchanged and
make the edit in the relevant `text` field so the prompt reads naturally.

In `@content/rgpv/cscy/semester-4/cy-401/pyqs.json`:
- Around line 426-431: The Q6b entry has a dimension mismatch: the description
in the primary-decomposition question uses a 2×2 matrix and R², but the
characteristic polynomial in the same `text` field is degree 3. Update the
`text` for the `q6b` object so the matrix size, ambient space, and
characteristic polynomial are consistent, using the surrounding `id`, `label`,
and `type` fields to locate the JSON record.

---

Outside diff comments:
In `@content/rgpv/aiml/semester-4/al-401/pyqs.json`:
- Around line 26-138: The June 2025 sub-questions in the pyqs JSON are missing
required metadata fields, so update each sub-question object under the June 2025
paper to include both unit and type consistently with the rest of the file. Use
the existing SubQuestion shape from types/pyq.ts and mirror the same structure
already present in other papers, ensuring every question block from Q1 through
Q8 has these fields so consumers of getPYQs and any UI reading subQuestion.unit
or subQuestion.type won’t see undefined values.

---

Nitpick comments:
In `@content/rgpv/aiml/semester-4/al-401/pyqs.json`:
- Line 295: The multi-topic question entries in pyqs.json use inconsistent
slash-separated unit values, unlike the rest of the dataset that uses a single
unit string. Update the affected records identified by the unit fields in the
diff so they follow the same schema as the other question objects, using one
consistent representation for multi-topic coverage (for example, a primary unit
or a structured list) and keep the unit values uniform across the file. Refer to
the question entry fields around the existing unit property values to locate and
normalize all three mixed cases.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: b09ca310-2482-48fb-badc-085ce0e9f68a

📥 Commits

Reviewing files that changed from the base of the PR and between 20e1395 and 26c33b7.

📒 Files selected for processing (2)
  • content/rgpv/aiml/semester-4/al-401/pyqs.json
  • content/rgpv/cscy/semester-4/cy-401/pyqs.json

"id": "q7b",
"label": "b)",
"text": "A sample of 100 B.Sc. Student is taken from a medical college with height having standard deviation (S.D. = 10 cm). The mean height of sample of student is found 168.8 cm. Can we accept that the mean height of student is 170 cm. Justify your answer."
"text": "A sample of 100 B.Sc. Student is taken from a medical college with height having standard deviation (S.D.= 10 cm). The mean height of sample of student is found 168.8 cm. Can we accept that the mean height of student is 170 cm. Justify your answer.",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

📐 Maintainability & Code Quality | 🟡 Minor | ⚡ Quick win

Fix grammatical errors in Q7(b) December 2024.

"B.Sc. Student" should be "B.Sc. Students" and "sample of student" should be "sample of students".

✏️ Proposed fix
-              "text": "A sample of 100 B.Sc. Student is taken from a medical college with height having standard deviation (S.D.= 10 cm). The mean height of sample of student is found 168.8 cm. Can we accept that the mean height of student is 170 cm. Justify your answer.",
+              "text": "A sample of 100 B.Sc. Students is taken from a medical college with height having standard deviation (S.D.= 10 cm). The mean height of sample of students is found 168.8 cm. Can we accept that the mean height of students is 170 cm. Justify your answer.",
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"text": "A sample of 100 B.Sc. Student is taken from a medical college with height having standard deviation (S.D.= 10 cm). The mean height of sample of student is found 168.8 cm. Can we accept that the mean height of student is 170 cm. Justify your answer.",
"text": "A sample of 100 B.Sc. Students is taken from a medical college with height having standard deviation (S.D.= 10 cm). The mean height of sample of students is found 168.8 cm. Can we accept that the mean height of students is 170 cm. Justify your answer.",
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@content/rgpv/aiml/semester-4/al-401/pyqs.json` at line 281, Update the
question text in the JSON entry for Q7(b) December 2024 to fix the grammar:
change “B.Sc. Student” to “B.Sc. Students” and “sample of student” to “sample of
students”. Keep the rest of the wording unchanged and make the edit in the
relevant `text` field so the prompt reads naturally.

{
"id": "q7b",
"label": "b)",
"text": "An agricultural research organization wants to study the effect of four types of fertilizers on the yield of crop. Fill in the blanks in the ANOVA table and test at α = 0.5, whether the fertilizers differ significantly.",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🎯 Functional Correctness | 🟠 Major | ⚡ Quick win

Significance level α = 0.5 is likely a typo for α = 0.05.

A 50% significance level is statistically meaningless in an ANOVA context. This should almost certainly be α = 0.05 (5% level), which is the standard value used throughout other papers in this file (e.g., line 281, line 920).

🐛 Proposed fix
-              "text": "An agricultural research organization wants to study the effect of four types of fertilizers on the yield of crop. Fill in the blanks in the ANOVA table and test at α = 0.5, whether the fertilizers differ significantly.",
+              "text": "An agricultural research organization wants to study the effect of four types of fertilizers on the yield of crop. Fill in the blanks in the ANOVA table and test at α = 0.05, whether the fertilizers differ significantly.",
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"text": "An agricultural research organization wants to study the effect of four types of fertilizers on the yield of crop. Fill in the blanks in the ANOVA table and test at α = 0.5, whether the fertilizers differ significantly.",
"text": "An agricultural research organization wants to study the effect of four types of fertilizers on the yield of crop. Fill in the blanks in the ANOVA table and test at α = 0.05, whether the fertilizers differ significantly.",
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@content/rgpv/aiml/semester-4/al-401/pyqs.json` at line 601, The ANOVA
question text in the pyqs data uses an incorrect significance level of α = 0.5;
update the affected question entry so it uses the standard α = 0.05 instead.
Make this change in the JSON record containing the fertilizer ANOVA prompt,
keeping the rest of the question text unchanged and ensuring the value matches
the other statistical questions in this dataset.

Comment on lines +426 to +431
"id": "q6b",
"label": "b)",
"text": "Consider a 2×2 matrix G with characteristic polynomial (t+1)²(t-2) and minimal polynomial (t+1)(t-2). Determine the primary decomposition of R² with respect to G.",
"unit": "Unit 4",
"type": "primary-decomposition"
}

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win

Verify the matrix dimension in Q6b (June 2024).

Line 428 states "a 2×2 matrix G with characteristic polynomial (t+1)²(t-2)". The polynomial (t+1)²(t-2) expands to a degree-3 polynomial, which is impossible for a 2×2 matrix (whose characteristic polynomial must be degree 2). Additionally, the question asks for the primary decomposition of R², which is 2-dimensional. Either the matrix should be 3×3 (and the space R³), or the characteristic polynomial should be degree 2. This appears to be a transcription error.

🔧 Suggested fix
-              "text": "Consider a 2×2 matrix G with characteristic polynomial (t+1)²(t-2) and minimal polynomial (t+1)(t-2). Determine the primary decomposition of R² with respect to G.",
+              "text": "Consider a 3×3 matrix G with characteristic polynomial (t+1)²(t-2) and minimal polynomial (t+1)(t-2). Determine the primary decomposition of R³ with respect to G.",
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
"id": "q6b",
"label": "b)",
"text": "Consider a 2×2 matrix G with characteristic polynomial (t+1)²(t-2) and minimal polynomial (t+1)(t-2). Determine the primary decomposition of R² with respect to G.",
"unit": "Unit 4",
"type": "primary-decomposition"
}
"id": "q6b",
"label": "b)",
"text": "Consider a 3×3 matrix G with characteristic polynomial (t+1)²(t-2) and minimal polynomial (t+1)(t-2). Determine the primary decomposition of R³ with respect to G.",
"unit": "Unit 4",
"type": "primary-decomposition"
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@content/rgpv/cscy/semester-4/cy-401/pyqs.json` around lines 426 - 431, The
Q6b entry has a dimension mismatch: the description in the primary-decomposition
question uses a 2×2 matrix and R², but the characteristic polynomial in the same
`text` field is degree 3. Update the `text` for the `q6b` object so the matrix
size, ambient space, and characteristic polynomial are consistent, using the
surrounding `id`, `label`, and `type` fields to locate the JSON record.

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown

🎉 Congratulations @RamuuXfree!

Thank you for contributing to HyperLearningTech.

Your pull request has been successfully merged into main.

📦 Merge Summary

  • PR: Cy 401 #82 - Cy 401
  • Status: ✅ Merged
  • Repository: HyperLearningTech

🚀 Keep Contributing

  • Follow the CONTRIBUTING.md guidelines.
  • Keep each Pull Request focused on a single feature or fix.
  • Run formatting, linting, type checking, and a production build before opening a PR.

Thank you for helping make HyperLearningTech better.

Happy Coding! 🚀

@RamuuXfree
RamuuXfree deleted the cy-401 branch July 9, 2026 14:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant