Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

AI Policy & Learning Framework

ASTR 596: Modeling the Universe

San Diego State University

Living Document Notice: Given the rapid evolution of AI in education, this policy is essentially a pedagogical experiment. We’re exploring together how to best integrate these powerful tools while maintaining deep learning. Your feedback and experiences will help refine these guidelines. Open communication is essential – if something isn’t working or you discover better approaches, please share during Student Hacking Hours or class discussions. We’re all learning how to navigate this new landscape together.

Core Philosophy: AI as Performance Amplifier, Not Replacement

The Reality: AI tools are transforming scientific computing. You’ll work in an AI-integrated environment throughout your career. But here’s the critical insight: AI makes human expertise MORE valuable, not less. When everyone has access to the same AI tools, the differentiator becomes who can verify outputs, catch errors, ask better questions, and push beyond what AI already knows.

The Challenge: Research reveals both risks and opportunities. Over-reliance impairs learning (Bastani et al., 2024), while strategic use accelerates understanding (Kasneci et al., 2023; Bitzenbauer, 2023; Ting & O’Briain, 2025). HOW you engage matters – passive consumption atrophies skills, active collaboration enhances capability.

Our Approach: Develop core competencies through productive struggle, then use AI strategically to amplify performance. Critical thinking and deep understanding are no longer optional – they’re mandatory for doing anything meaningful in computational science.

Research Foundation:

These studies confirm that scaffolded AI use with reflection enhances rather than replaces learning.

TL;DR Quick Reference (AI Policy)

PhaseProjectsCoding with AILearning with AIKey Rule
1: FoundationProjects 1-3❌ No first-draft code. ✅ Debugging after 30 min documented effort.✅ Always allowed, docs-first; use AI to clarify after readingStruggle → Docs → AI (debug only)
2: StrategicProjects 4-5✅ After a working baseline; AI for refactors/tests/perf with verification✅ Always allowed (summaries, extensions)Verify & cite source; explain why kept/rejected
3: ProfessionalFinal Project✅ Acceleration/boilerplate; ❌ Not for logic you can’t explain✅ Research exploration; career prepExplain every algorithmic choice

Universal Rules:

Why This Three-Phase Scaffolding?

Phase 1 builds your BS detector. When you’ve debugged array indexing errors manually, you’ll spot when AI suggests nonsensical indices. When you’ve implemented gradient descent from scratch, you’ll recognize when AI’s optimization is mathematically wrong.

Phase 2 teaches verification. You’ll learn AI is confidently wrong surprisingly often. You’ll develop the habit of checking everything against documentation, running tests, and understanding WHY suggestions work (or don’t).

Phase 3 shows professional integration. With strong foundations, AI becomes a genuine accelerator. You’ll automate the boring parts while focusing on novel problems. This is how AI is actually used at Google, NASA, and research institutions.

Should I Use AI for This? Decision Flowchart

How to Cite AI Usage - Template

In-Code Documentation Template

# AI: [Tool] suggested [very short what]
# Verified: [doc/source or quick check: limit test / unit / plot]
# Because: [1 short reason you kept it]
def your_function():
    # Implementation here
    pass

Place the 3-line note directly above the edited function or block.

Growth Memo AI Section Template

Include a brief reflection on your AI usage:

## AI Usage Reflection

**Most Significant AI Interaction This Project:**
When was AI most helpful and why?

**Critical Thinking Check:**
Did AI give you any incorrect/misleading information? How did you verify its suggestions? 
(This helps us all learn what to watch for!)

**Key Learning:**
What did this interaction teach you about the problem, concept, or about using AI effectively? 

**Evolution of My AI Use:**
How has your approach to using AI changed since the last project? 

**Next Steps:**
One specific way you plan to improve your AI usage next project

Write this however works for you – paragraphs, bullets, diagrams. Emojis encouraged! Just help me understand your learning journey.

Scaffolded AI Integration Framework

Phase 1: Foundation Building (Projects 1-3)

Rule: Productive Struggle First, AI Second:

Structured Struggle Before AI: Target ~30 minutes of genuine effort, but use judgment:

The goal is productive struggle, not arbitrary time limits.

Flexibility in practice:

Using AI for Conceptual Understanding (Always OK):

Documentation:

If something took real effort to solve, add a quick comment like:

# Off-by-one error in loop
# or
# AI helped with matplotlib subplot confusion

That’s it. This helps you remember for your growth memo later.

Phase 2: Strategic Integration (Projects 4-5)

Rule: Documentation-First:

Now you can use AI for:

How to Verify AI Suggestions:

  1. Physics checks: Does energy conserve? Are units dimensional correct?

  2. Limit tests: Does N=2 match analytical? Does v→0 give classical limit?

  3. Benchmark: Compare with known solutions or simpler cases

  4. Performance: Actually time it – is it faster or just more complex?

  5. Readability: Is AI’s “clever” solution maintainable by you?

Phase 3: Professional Practice (Week 14-Finals, Final Project)

Dates: Nov 24 - Dec 18 | Rule: AI as Productivity Tool

Now AI can handle tedious tasks:

Note: Tool availability subject to change. If access issues occur, document and discuss in class.

🤔 When in Doubt

Build judgment through community:

  1. Come to Student Hacking Hours (Wednesdays 1-2 PM)

  2. Ask during class

  3. Discuss with classmates

  4. Email if urgent: alrosen@sdsu.edu

Your questions help everyone develop better intuition!

Special Circumstances

English as Second Language: If English is not your first language, using AI for translation and clarification of instructions is always permitted beyond phase restrictions.

Stuck Outside Office Hours: If it’s late and you’re genuinely blocked after 45+ minutes of documented effort, use AI minimally to get unstuck, then discuss with me in the next class.

Disability Accommodations: Individual accommodations through Student Ability Success Center supersede general policy. Please discuss your needs with me early in the semester.

Specific Examples: Good vs Bad AI Usage

Debugging (All Phases - After Struggle)

GOOD: “I’m getting IndexError on line 45. I’ve checked array dimensions, confirmed indices are within bounds, and added print statements. The error happens when i=n. Why might this occur in a loop?”

BAD: “Fix this error: [paste entire code and error]”

Concept Understanding (All Phases)

GOOD: “I understand Euler integration accumulates error. Can you explain why RK4 has O(h^4) error while Euler has O(h)? I’ve read that it’s related to Taylor series but don’t see the connection.”

BAD: “Explain RK4 integration”

Optimization (Phase 2-3)

GOOD: “My N-body simulation works but takes 5 minutes for 1000 particles. I’m using nested loops for force calculation. Here’s my approach [show code]. What optimization strategies should I consider?”

BAD: “Make this code faster”

The Cognitive Ownership Principle

After consulting AI, close the tab and re-implement from memory. Do not paste generated code. If you can’t write it yourself, you don’t understand it yet. You may be asked for a 1–2 minute walkthrough of a function during lab to demonstrate understanding; this is supportive, not punitive.

AI as Learning Companion vs. Code Generator

The Critical Distinction

AI for Learning (ALWAYS ENCOURAGED):

AI for Coding (PHASE-DEPENDENT):

NotebookLM (For grounded study aids)

Use with an institutional/SSO account when possible; availability can change.

Why it’s ideal: Uses ONLY the sources you provide, dramatically reducing hallucination risk compared to general-purpose LLMs.

Perfect uses:

ChatGPT (For Conceptual Exploration)

Note: SDSU provides enterprise access to all students<br> Privacy Protection: The SDSU enterprise account ensures “OpenAI doesn’t use San Diego State University workspace data to train its models.” Your conversations are private.

Best for:

Building Your Technical Growth Portfolio

Keep a simple log of significant AI interactions for your final portfolio:

Date | Project | What AI Helped With | Key Insight
9/15 | N-body | Debugging array indexing | Check bounds BEFORE loop
10/2 | MCRT | Understanding optical depth | It's cumulative, not local

Final Portfolio: Select 3-5 best examples showing Phase 1→3 evolution.

Assessment Standards for AI-Assisted Work

Quality Expectations

Work demonstrating deep understanding through:

Git Commit Standards: Single-commit or few-commit submissions suggest potential policy violation. Commits should show your thinking evolving, bugs being fixed, features being added incrementally.

When Work Doesn’t Meet Standards

If submitted work lacks evidence of understanding:

  1. Learning Intervention: One-on-one discussion to identify gaps

  2. Revision Opportunity: Resubmit with enhanced documentation (one time)

  3. Adjusted Assessment: Work evaluated based on demonstrated independent understanding

Clear Violations

Extensive undocumented AI use or inability to explain submitted code:

Critical Thinking: Recognizing AI Limitations

You’ll learn to:

Remember: The difference between someone who asks “write me an MCMC sampler” and someone who says “help me optimize my Metropolis-Hastings acceptance ratio for this specific posterior geometry” is the difference between a tool-user and a tool-builder.

Bottom Line

AI amplifies capability – it doesn’t replace understanding. When everyone can generate code with AI, the scarce resource becomes people who know if that code is correct, why it works, and how to extend it to solve new problems. This course makes you one of those people.

Master fundamentals AND strategic AI usage to thrive. The struggle is where learning happens; AI should enhance your learning journey, not bypass it.

Questions? Come to Student Hacking Hours or ask in class. Open communication helps everyone!

Quick Reference Card

Phase 1 (Projects 1-3): Struggle 30 min → Check docs → Debug with AI only Phase 2 (Projects 4-5): Working baseline → Enhance with AI → Verify everything
Phase 3 (Final Project): Core understanding → Accelerate with AI → Explain every line Always: Can’t explain = Can’t submit | Docs first | Document all AI use


References

References
  1. Bastani, H., Bastani, O., Sungu, A., Ge, H., Kabakcı, Ö., & Mariman, R. (2024). Generative AI Can Harm Learning. 10.2139/ssrn.4895486
  2. Bitzenbauer, P. (2023). ChatGPT in physics education: A pilot study on easy-to-implement activities. Contemporary Educational Technology, 15(3), ep430. 10.30935/cedtech/13176
  3. Dahlkemper, M. N., Lahme, S. Z., & Klein, P. (2023). How do physics students evaluate artificial intelligence responses on comprehension questions? A study on the perceived scientific accuracy and linguistic quality of ChatGPT. Physical Review Physics Education Research, 19(1). 10.1103/physrevphyseducres.19.010142
  4. Kasneci, E., Sessler, K., Küchemann, S., Bannert, M., Dementieva, D., Fischer, F., Gasser, U., Groh, G., Günnemann, S., Hüllermeier, E., Krusche, S., Kutyniok, G., Michaeli, T., Nerdel, C., Pfeffer, J., Poquet, O., Sailer, M., Schmidt, A., Seidel, T., … Kasneci, G. (2023). ChatGPT for good? On opportunities and challenges of large language models for education. Learning and Individual Differences, 103, 102274. 10.1016/j.lindif.2023.102274