Add multilingual Agila learning examples and Git practice guide

This commit is contained in:
Agila University committed 2026-11-01 14:08:37 +08:00
commit 85f487afb0
79 files changed
+813

No files matched your search

+9
View File
@@ -0,0 +1,9 @@
# A review of an AI-style threshold draft
Review and repair the deliberately flawed threshold function. Present your reasoning so you can verify it without the conversation that produced the draft.
- Restate the at-least-70 requirement in your own words.
- Trace 69, 70, and 71 before execution.
- Show the incorrect and corrected comparisons with actual results.
- Explain input type, Boolean result, and the output call.
- Record AI assistance and answer one new boundary example you predict and test.
+10
View File
@@ -0,0 +1,10 @@
with Ada.Text_IO;
procedure Main is
function Passed (Score : Integer) return Boolean is
begin
return Score > 70; -- Deliberate candidate to review
end Passed;
begin
Ada.Text_IO.Put_Line (Boolean'Image (Passed (70)));
end Main;