semexp-thesis

The Semantic Workspace: Augmenting Exploratory Programming with Integrated Generative AI Tools [Master's Thesis]

https://github.com/linqlover/semexp-thesis

Science Score: 77.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 3 DOI reference(s) in README
  • Academic publication links
    Links to: acm.org
  • Committers with academic emails
    1 of 1 committers (100.0%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.8%) to scientific vocabulary

Keywords

ai exploratory-programming gpt-4o latex llms programming-tools smalltalk squeak thesis
Last synced: 6 months ago · JSON representation ·

Repository

The Semantic Workspace: Augmenting Exploratory Programming with Integrated Generative AI Tools [Master's Thesis]

Basic Info
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 0
  • Releases: 1
Topics
ai exploratory-programming gpt-4o latex llms programming-tools smalltalk squeak thesis
Created almost 2 years ago · Last pushed over 1 year ago
Metadata Files
Readme Citation

README.md

The Semantic Workspace: Augmenting Exploratory Programming with Integrated Generative AI Tools

Master's thesis by Christoph Thiede.
Supervised by Robert Hirschfeld, Marcel Taeumel, and Lukas Böhme.

Read the thesis here: 💾 PDF (twoside) or 💾 PDF (oneside)

Available artifacts: - https://github.com/hpi-swa-lab/SemanticSqueak - https://github.com/hpi-swa-lab/Squeak-SemanticText

Abstract

In the exploratory programming practice, programmers iteratively ask questions and run experiments to understand and develop software systems. However, traditional exploratory programming workflows often lead to distractions and information overload, as programmers need to handle numerous implementation artifacts. Meanwhile, semantic technologies—text generation using large language models (LLMs) and semantic retrieval using embeddings—are establishing themselves in other development practices to assist in writing and searching code.

We propose an augmented exploratory programming workflow that integrates semantic technologies into programming systems, allowing programmers to interact with them through more conceptual interfaces. Our semantic workspace introduces three semantic programming tools for augmenting and automating exploration: semantic suggestions anticipate the intentions of programmers and recommend possible experiments, semantic completions continue their plans through contextualized suggestions, and semantic conversations enable high-level, natural-language questions about objects.

Our semantic exploration kernel uses semantic technologies to power these tools with a suggestion engine for recommending and contextualizing artifacts, and with an exploratory programming agent for autonomous experiments and conversations with programmers. We explore embedding- and term-based strategies for searching and ranking artifacts, and we design prompts and system interfaces for an agent based on the GPT-4o model.

We successfully used a prototype of the semantic workspace for Squeak/Smalltalk to augment different exploratory activities. From our experience, semantic tools show promise in streamlining the exploratory programming workflow, but they must be further optimized to master exploratory practices and semantic understanding and to reduce time and resource consumption. We believe that our work is an important step toward a new era of semantic exploratory programming, where programmers and deeply intelligent agents collaborate effectively to comprehend and extend large systems.

Citing

Christoph Thiede. 2024. The Semantic Workspace: Augmenting Exploratory Programming with Integrated Generative AI Tools. Master’s Thesis. Hasso Plattner Institute, 161 pages. To be defended. URL: https://github.com/LinqLover/semexp-thesis/releases/download/submission/semexp-thesis.pdf

BibTeX citation file (short version)
@thesis{thiede2024semantic,
    title = {The Semantic Workspace: Augmenting Exploratory Programming with Integrated Generative AI Tools},
    author = {Christoph Thiede},
    year = {2024},
    month = {9},
    day = {30},
    institution = {Hasso Plattner Institute},
    address = {Potsdam, Germany},
    type = {Master's Thesis},
    keywords = {exploratory programming, semantic technologies, generative AI, LLMs, semantic retrieval, document embeddings, Squeak, Smalltalk, GPT},
    url = {https://github.com/LinqLover/semexp-thesis/releases/download/submission/semexp-thesis.pdf},
}
BibTeX citation file (long version)
@thesis{thiede2024semantic,
    title = {The Semantic Workspace: Augmenting Exploratory Programming with Integrated Generative AI Tools},
    author = {Christoph Thiede},
    year = {2024},
    month = {9},
    day = {30},
    institution = {Hasso Plattner Institute},
    address = {Potsdam, Germany},
    type = {Master's Thesis},
    abstract = {In the exploratory programming practice, programmers iteratively ask questions and run experiments to understand and develop software systems. However, traditional exploratory programming workflows often lead to distractions and information overload, as programmers need to handle numerous implementation artifacts. Meanwhile, semantic technologies—text generation using large language models (LLMs) and semantic retrieval using embeddings—are establishing themselves in other development practices to assist in writing and searching code.

We propose an augmented exploratory programming workflow that integrates semantic technologies into programming systems, allowing programmers to interact with them through more conceptual interfaces. Our semantic workspace introduces three semantic programming tools for augmenting and automating exploration: semantic suggestions anticipate the intentions of programmers and recommend possible experiments, semantic completions continue their plans through contextualized suggestions, and semantic conversations enable high-level, natural-language questions about objects.

Our semantic exploration kernel uses semantic technologies to power these tools with a suggestion engine for recommending and contextualizing artifacts, and with an exploratory programming agent for autonomous experiments and conversations with programmers. We explore embedding- and term-based strategies for searching and ranking artifacts, and we design prompts and system interfaces for an agent based on the GPT-4o model.

We successfully used a prototype of the semantic workspace for Squeak/Smalltalk to augment different exploratory activities. From our experience, semantic tools show promise in streamlining the exploratory programming workflow, but they must be further optimized to master exploratory practices and semantic understanding and to reduce time and resource consumption. We believe that our work is an important step toward a new era of semantic exploratory programming, where programmers and deeply intelligent agents collaborate effectively to comprehend and extend large systems.},
    keywords = {exploratory programming, semantic technologies, generative AI, LLMs, semantic retrieval, document embeddings, Squeak, Smalltalk, GPT},
    url = {https://github.com/LinqLover/semexp-thesis/releases/download/submission/semexp-thesis.pdf},
}

Artifacts and Paper

I attempt to provide all relevant artifacts for this reseearch in this repository:

https://github.com/hpi-swa-lab/SemanticSqueak

This work has also let to a conference paper published and presented at Onward! 2024:

For more information, pelase refer to the above GitHub repository.

Building

Uses the swathesis template (plus many customizations).

bash swth clean && swth go

Worked on my machine with pdfTeX, Version 3.141592653-2.6-1.40.22 (TeX Live 2022/dev/Debian). It is also possible to substitute swth by latexmk (version 4.76), even though multiple reruns might be required after changing the bibliography.

Figures were created with PowerPoint 365 Online (not recommended to try at home), inspired by Marcel Taeumel's fantastic drawing style (Segoe Print, sketchy lines - freehand and scribble).

Owner

  • Name: Christoph Thiede
  • Login: LinqLover
  • Kind: user
  • Location: Berlin
  • Company: Hasso Plattner Institute | @hpi-swa | @Museum-Barberini-gGmbH

Student of IT-Systems Engineering

Citation (CITATION.cff)

cff-version: 1.2.0
title: "The Semantic Workspace: Augmenting Exploratory Programming with Integrated Generative AI Tools"
authors:
  - family-names: "Thiede"
    given-names: "Christoph"
    orcid: https://orcid.org/0000-0002-7442-8216
preferred-citation:
  type: thesis
  thesis-type: "Master's thesis"
  authors:
  - family-names: "Thiede"
    given-names: "Christoph"
    orcid: https://orcid.org/0000-0002-7442-8216
  title: "The Semantic Workspace: Augmenting Exploratory Programming with Integrated Generative AI Tools"
  abstract: |
    In the exploratory programming practice, programmers iteratively ask questions and run experiments to understand and develop software systems.
    However, traditional exploratory programming workflows often lead to distractions and information overload, as programmers need to handle numerous implementation artifacts.
    Meanwhile, semantic technologies—text generation using large language models (LLMs) and semantic retrieval using embeddings—are establishing themselves in other development practices to assist in writing and searching code.

    We propose an augmented exploratory programming workflow that integrates semantic technologies into programming systems, allowing programmers to interact with them through more conceptual interfaces. Our semantic workspace introduces three semantic programming tools for augmenting and automating exploration:
    semantic suggestions anticipate the intentions of programmers and recommend possible experiments, semantic completions continue their plans through contextualized suggestions, and semantic conversations enable high-level, natural-language questions about objects.

    Our semantic exploration kernel uses semantic technologies to power these tools with a suggestion engine for recommending and contextualizing artifacts, and with an exploratory programming agent for autonomous experiments and conversations with programmers.
    We explore embedding- and term-based strategies for searching and ranking artifacts, and we design prompts and system interfaces for an agent based on the GPT-4o model.

    We successfully used a prototype of the semantic workspace for Squeak/Smalltalk to augment different exploratory activities. From our experience, semantic tools show promise in streamlining the exploratory programming workflow, but they must be further optimized to master exploratory practices and semantic understanding and to reduce time and resource consumption.
    We believe that our work is an important step toward a new era of semantic exploratory programming, where programmers and deeply intelligent agents collaborate effectively to comprehend and extend large systems.
  month: 9
  year: 2024
  pages: 161
  location: "Potsdam, Germany"
  institution: "Hasso Plattner Institute"
  keywords: [exploratory programming, semantic technologies, generative AI, LLMs, semantic retrieval, document embeddings, Squeak, Smalltalk, GPT]

GitHub Events

Total
  • Push event: 2
Last Year
  • Push event: 2

Committers

Last synced: 8 months ago

All Time
  • Total Commits: 143
  • Total Committers: 1
  • Avg Commits per committer: 143.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 100
  • Committers: 1
  • Avg Commits per committer: 100.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Christoph Thiede c****e@s****e 143
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 8 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels