Static school reading · Terminal implementation
Investigation and evidence rubric
Read here, then implement your own optimizer in the learner project. This page does not execute code, save answers or award results. Use the terminal tools to preserve first attempts, source versions, help and revisions.
The named U08/U09 reduction defect has passed an independent focused public-interface recheck. The owner package’s broader pending-review statements describe its original scope; the complete documented terminal route has since been exercised in a source-aware owner run. Browser and human learning are not claimed.
Get the learner project on GitHubSetup, nine lessons and contracts
Investigation and evidence rubric
Use this after committing your first attempt. A mechanical pass and a sound explanation are separate results.
- Semantic claim. Name the preserved return type/value, heap and event behavior. State word width, wrap and signed comparison rules. Do not appeal to a different language's overflow behavior.
- Original witness. Preserve the original source, exact input and faulty pipeline. Both programs are valid and terminate normally with different scalar or heap results. A crash or fuel cutoff alone does not qualify.
- Causal diagnosis. Name the transformation's violated premise and show how the witness exercises it. Distinguish observed facts from hypotheses. A sentence saying only “the outputs differ” is insufficient.
- Reduction. Regenerate the target from each reduced source. Preserve the signature and input contract. Remove irrelevant structure, retain the original witness and name the reduction family and stopping condition. Cosmetic names, SSA spelling and serialization differences are not reductions. U08 also permits a genuine witness-input complexity decrease; U09 requires a structural decrease in its supplied source. Do not call a best-found result globally minimal.
- Repair. Fix or conservatively decline the invalid transformation while retaining a legitimate optimization. Show the original witness fixed, neighboring cases checked and a correct useful scalar win. Disabling every transformation is insufficient.
- Evidence limits. State the exact tested input set, runtime/checker identity and remaining unknowns. Separate model cost from wall-clock performance. Report help and keep first/revised attempts.
An optional reviewer may critique your exported work against this rubric. Any model feedback is advisory. Do not transmit personal data or assume a hosted reviewer exists; the course makes no automatic external calls.
Author QA, source-blind interface trials and human learning studies answer different questions. No local score is a credential or evidence of general compiler mastery.