In this guide
How to Organise Your IEEE Base-Paper Project's Code and GitHub Repo
Most IEEE base-paper builds do not fail because the model is wrong. They fail at the review because nobody — not the guide, not the teammate who joined in Phase 2, not the student themselves three weeks later — can tell which file does what, which result came from which run, or whether the code in front of them is the paper's method or the team's own feature. A tidy repository is not cosmetic work. It is the evidence that the build is real, reproducible, and yours where it claims to be.
This guide gives you one folder layout, one README shape, and a small set of habits that keep a three-person team in sync for two semesters. It assumes a Python deep-learning build, but the same layout works for any IEEE base-paper implementation.
Quick answer
An organised IEEE base-paper repository is a GitHub repo where the baseline reproduction, the team's own feature, the data pipeline, and the experiment records each live in their own folder, with a README that maps every folder to the project report and a single command that reruns the headline result.
Organise your IEEE base-paper project as one GitHub repo: separate folders for the baseline, your own feature, data, and results; a README mapping each folder to your report chapters; a frozen environment file and a fixed seed so the result reruns identically. Keep datasets and weights out of Git, commit small and often, and tag the code shown at review.
| Messy repo | Organised repo | |
|---|---|---|
| Finding the baseline | Buried in a notebook called final_v2_REAL.ipynb |
src/baseline/ — the paper's method, untouched |
| Finding your own feature | Mixed into the same files | src/own_feature/ — clearly separated |
| Rerunning a result | "It worked on my laptop" | One command, fixed seed, frozen environment |
| What the guide sees | A zip file at the last minute | A README that maps folders to report chapters |
| Teamwork | Overwritten files, lost work | Branches per person, small reviewed commits |
Why your guide looks at the repo, not just the demo
A demo can be rehearsed. A repository cannot be faked in an afternoon. When a guide opens your repo they are checking four things, usually in this order:
- Can I see the base paper's method? The baseline should be recognisable as the paper's method — same architecture family, same training setup, same evaluation. If the baseline is scattered across notebooks, the guide cannot confirm you reproduced anything.
- Can I see where your own feature starts? Your contribution must be visibly separate from the baseline. A guide who cannot draw that line cannot approve the project as original work.
- Can I rerun it? A README with exact setup steps, a frozen dependency list, and a fixed seed tells the guide the numbers in your report came from this code.
- Did the team actually build it together? Commit history shows who did what and when. Three students, one author, and a single giant commit the night before the review tells its own story.
None of this needs fancy tooling. It needs a layout you agree on in week one and habits you keep for two semesters.
The folder layout to start with
Create this structure on day one, before you write any model code. Empty folders with a short README inside each one are better than a perfect layout invented in Phase 2.
my-ieee-project/
README.md
requirements.txt
.gitignore
data/
README.md
src/
baseline/
own_feature/
data_pipeline/
utils/
configs/
notebooks/
experiments/
results/
docs/
tests/
What each folder is for:
README.md(root) — the map of the whole project. See the README section below.requirements.txt— every package with a pinned version. One file, updated whenever you add a dependency.data/— never commit raw datasets here. Keep aREADME.mdthat records where each dataset came from, its licence or access terms, and the exact download or request steps. Small sample files (a few dozen rows or images) are fine if the licence allows it.src/baseline/— the paper's method only. If you are reproducing the MAM pruning paper (DOI 10.1109/TNNLS.2025.3527644), this folder holds the multiply-and-max/min layers and the pruning routine as the paper describes them. Do not add your own ideas here.src/own_feature/— your contribution only. New layers, new loss terms, new evaluation code — anything that is yours lives here and imports frombaseline, never the other way round.src/data_pipeline/— loading, preprocessing, augmentation, and splitting. One place, so a data bug is fixed once.src/utils/— small shared helpers: seeding, logging, checkpoint saving.configs/— one small file per experiment (YAML or JSON): model, dataset, batch size, learning rate, seed. Never hard-code these values inside training scripts.notebooks/— exploration only. A notebook that produced a result in your report must be re-runnable top to bottom, and the result must also exist as a script insrc/.experiments/— one dated folder per run, holding the config copy, the log file, and the metrics. This is your lab notebook in folder form.results/— tables and figures that go into the report, generated by scripts, never hand-edited.docs/— the report drafts, the base-paper notes, and the review slides. Keep them in the repo so the code and the writing stay in step.tests/— small checks that your data loader returns the right shapes and your model runs on a tiny batch. A test that takes ten seconds catches the bug that costs a week.
Keep the baseline and your own feature apart
This separation is the single most valuable habit in this guide, and the one guides notice first. Three rules make it work:
- The baseline folder is read-only after reproduction. Once your baseline reproduces the paper's reported behaviour, stop editing it. If you find a bug in the baseline later, fix it in a clearly labelled commit and note it in the README — a fix to the baseline is a finding, not a secret.
- Your feature imports the baseline; it never rewrites it. If your own feature is a new pruning schedule on top of the MAM layers, write it in
src/own_feature/and import the MAM layer fromsrc/baseline/. Anyone opening the repo can then see exactly what you added. - Ablation runs switch the feature off, not the baseline. Your comparison table — baseline vs baseline-plus-feature — should be produced by a config flag, not by two different copies of the code. One codebase, two configs, honest numbers. The ablation guide on this site walks through the one-claim-one-row discipline that makes that table trustworthy.
A concrete example: for a self-supervised ViT defect-detection build (base paper DOI 10.1109/TII.2025.3534443), src/baseline/ holds the ViT encoder and the self-supervised pre-training loop, while src/own_feature/ holds your added defect-localisation head and the threshold rule you designed. The report's methodology chapter can then describe each folder in one paragraph each, and the examiner can check the claim against the code.
Write a README your guide can actually use
A good README for an IEEE base-paper project answers five questions in order. Keep each answer short.
- What is this project? One paragraph: the base paper (title, journal, DOI), the problem it solves, and the one own feature you are adding.
- How do I run the baseline? The exact commands, in order, from a fresh clone. Include the Python version and the one command that installs dependencies.
- How do I run your feature? The config file to change and the command to run. State the expected output and how long it takes on the hardware you used.
- Where are the results? Point to the
results/folder and name the table or figure in the report that each file supports. - What is still missing? An honest list: known limitations, unfinished pieces, and what the next sprint will do. A README that admits a gap is more credible than one that claims everything works.
Add a small "repo map" table that links each folder to the report chapter it supports — for example, src/baseline/ to the methodology chapter's baseline section, experiments/ to the results chapter. Your guide reads the report and the repo together; the map is what connects them.
What never goes into Git
Some things must never be committed, however convenient it feels. Put them in .gitignore on day one:
# datasets and weights - too large, often licensed
data/raw/
data/processed/
*.pt
*.pth
*.ckpt
checkpoints/
# secrets and personal data
.env
*.key
credentials.json
# local clutter
__pycache__/
*.log
.ipynb_checkpoints/
.venv/
Three rules behind that list:
- Datasets stay out. Many research datasets have licences that forbid redistribution, and some are private — the earlier guide on private datasets explains the five paths when you cannot get the data at all. Your
data/README.mdrecords how to obtain the dataset, not the dataset itself. - Weights stay out. A trained checkpoint can be hundreds of megabytes and GitHub will refuse large files. Record the training config and seed instead, so the weights can be regenerated. If your college needs the weights for the review, share them as a drive link noted in the README, not as a commit.
- Secrets stay out, always. API keys, passwords, and tokens never belong in a repo — not even a private one, because repos get shared, forked, and made public by mistake. Use a
.envfile that is ignored by Git, and a.env.examplefile that lists the variable names with placeholder values.
Make every result rerunnable
A result your guide cannot rerun is a claim, not evidence. Four habits make reruns boring instead of painful:
- Pin your environment.
requirements.txtwith exact versions (torch==2.4.0, nottorch). Regenerate it from your working environment and test it once in a fresh virtual environment before the review. - Fix the seed, and say so. Set the Python, NumPy, and PyTorch seeds at the start of every training script, and record the seed in the config file. Report the seed alongside every number in the results chapter.
- One command per headline result. Each result in your report should map to one command in the README — for example,
python src/train.py --config configs/baseline.yaml. If a result needs five manual steps, it will not be reproduced. - Log every run the same way. Each folder in
experiments/holds the config copy, the console log, and a metrics file with the same columns every time: date, config name, seed, dataset split, headline metric, and notes. When the guide asks "which run produced Table 4.2?", the answer is a folder name, not a memory.
A short seeding helper belongs in src/utils/ and is called by every script:
import random
import numpy as np
import torch
def set_seed(seed):
random.seed(seed)
np.random.seed(seed)
torch.manual_seed(seed)
torch.cuda.manual_seed_all(seed)
Team workflow for three students
Most IEEE base-paper teams are three students sharing one repo. The workflow that survives two semesters is deliberately simple:
- One repo, private. Keep it private until the project is submitted and your guide agrees it can go public. Add your guide as a collaborator with read access so they can follow progress without asking for zip files.
- One branch per person or per feature. Never commit directly to the main branch. Each student works on a short-lived branch named after the work (
own-feature-loss,data-augmentation), and merges through a short review by a teammate. - Small commits, honest messages. Commit when one thing works, not at the end of the day. A message like "add MAM layer with max/min selection" is useful; "updates" is not. Aim for commits a teammate can read like a diary of the build.
- Merge at least once a week. Long-lived branches drift apart and the merge becomes a project of its own. A weekly merge, even a small one, keeps the three copies of the project the same project.
- Tag the review versions. Before each review, tag the exact commit shown:
git tag phase1-reviewand push the tag. If the demo breaks the night before the review, you can return to the tagged version in one command instead of debugging at midnight.
If two teammates edit the same file, that is a sign the file is doing two jobs. Split it — usually along the baseline/own-feature line — and the conflicts mostly disappear.
Mistakes that cost teams a review
- The "final" notebook chain.
baseline.ipynb,baseline_final.ipynb,baseline_final_v2.ipynb— nobody knows which one produced the reported numbers. Rule: notebooks explore, scripts produce. Anything in the report comes from a script insrc/. - Results without the config. A metrics file with no config copy is unverifiable. Every experiment folder holds its config.
- The dataset in the repo. A 4 GB commit that breaks every clone and violates the dataset licence. Keep data out; document how to get it.
- No README until Phase 2. Writing the README in the last week means reconstructing two semesters of decisions from memory. Write it in week one and update it every sprint — five minutes a week beats five panicked hours.
- One student, one laptop, no remote. Code that lives on a single laptop is one spilled coffee away from gone. Push to GitHub at the end of every work session, even if the code is unfinished. An unfinished commit on a branch is safe; unpushed work is not.
- Credentials in the code. A real API key committed once stays in Git history forever, even after you delete it from the file. If it happens, revoke the key immediately and ask your guide — do not just delete the line and hope.
FAQ
Should the repo be public or private?
Private while you build. Your base paper's authors published their method, but your implementation, your dataset access, and your own feature are your team's work until submission. Make it public only after submission, and only if your guide agrees.
What if the base paper has public code — do we still need our own repo?
Yes. Fork or vendor the authors' code into src/baseline/ with a clear note of its origin and licence, and build your own feature in your own folders. Your repo is the record of what you did, not a link to someone else's.
What if our build has no GPU and we train on a borrowed machine?
The layout does not change. Record the machine and the environment in the experiment log, and keep the config files identical across machines so results stay comparable. The limited-compute guide on this site covers shrinking the model and the data when the hardware is the constraint.
How much of the repo does the examiner actually read?
Usually the README, the folder layout, and the files behind one or two claimed results. That is exactly why the README, the baseline/own-feature split, and the experiment folders matter most — they are the parts that get opened.
We started messy. Is it too late to reorganise?
No — but do it in one planned session, not in drips. Pick the layout in this guide, move files in a single commit per folder, update the README, and tag the commit. Do it at least two weeks before a review, never the night before.
Do we need tests for a student project?
Small ones, yes. A test that loads one batch and runs one forward pass catches the shape error that otherwise appears during the demo. Keep tests in tests/ and run them before every review tag.
Limitations
- This layout fits Python deep-learning builds best. A hardware-heavy build with firmware, CAD files, and PCB designs needs extra folders for schematics and firmware, with the same baseline/own-feature discipline applied to the firmware.
- GitHub's free tier limits large files and private collaborators in some plans; check the current limits before you rely on them, and keep datasets and weights out of Git regardless.
- No folder layout fixes a baseline that was never reproduced or an own feature that was never tested. Organisation makes honest work visible — it cannot substitute for it.
- College rules override everything here: if your department mandates a specific report structure or a submission format, follow that and map this layout onto it, not the other way round.
Get a quotation for your IEEE base-paper build
If you want Projectech to build your IEEE base-paper project — baseline reproduction, your own feature, and the full Phase-1 to Phase-2 documentation, including a repository organised the way this guide describes — message on WhatsApp with your branch, your base paper (title or DOI), and your Phase-1 and Phase-2 deadlines. You will get a quotation stating the scope, the price, and the delivery timeline. Final approval of the topic and the build always rests with your own guide and college.