From 1b711c4bc6dca5e4cadcd5dd31103c46eb8cfcd7 Mon Sep 17 00:00:00 2001 From: Janik von Rotz Date: Tue, 26 Aug 2025 08:42:47 +0200 Subject: [PATCH] vault backup: 2025-08-26 08:42:47 --- Compare coding agents.md | 38 ++++++++++++++++++++++++++++++++++ Large Language Model Agents.md | 12 +++++++++++ Large Language Models.md | 4 +--- Qwen Coder.md | 8 +++++++ bases/Prozesse.base | 1 + generate-base-views.js | 11 ---------- package.json | 1 + pnpm-lock.yaml | 3 +++ 8 files changed, 64 insertions(+), 14 deletions(-) create mode 100644 Compare coding agents.md create mode 100644 Qwen Coder.md diff --git a/Compare coding agents.md b/Compare coding agents.md new file mode 100644 index 00000000..2732031c --- /dev/null +++ b/Compare coding agents.md @@ -0,0 +1,38 @@ +--- +kind: + - explain +lang: en +author: Janik von Rotz +--- +# Compare coding agents + +Comparing LLM agents is difficult. I wanted to build a simple feature this Obsidian Wiki. Obsidian features *bases*, these are basically queries for the entire markdown file structure. There is no other output format, except for the bases view of Obsidian. The coding agent should build a simple js script that renders the bases view definitions to markdown tables. + +## Prompt + +This is the prompt. + +``` +I would like to process the view definition files in the `./bases` folder and output them as markdown table. +Currently there is only one file, but there will be many more. +The input data for the views are the markdown files and their frontmatter data. +Have a look at `./Prozesse.base.md` to see the expected output. +Can you complete the `./generate-base-views.js` file? +Use `js-yaml` to read the bases file. +Use `gray-matter` to read the frontmatter of the markdown files. +Note that the filters are strings and can be run as js code. +To process the markdown files create a list of objects with attributes. +Don't hardcode the field names of the view defintions. +Only add comments for functions and for loops. +Use pnpm instead of npm. +``` + +## Execution + +I used [[Qwen Coder]] and the [[Infomaniak AI Tools]] to execute the prompt. + +## Results + +qwen3-coder-plus: Was not able to complete request. Ends up with syntax issues it is not able solve. + +Qwen3-235B-A22B-Instruct-2507: Used libraries not asked to use. diff --git a/Large Language Model Agents.md b/Large Language Model Agents.md index e69de29b..54eef7e7 100644 --- a/Large Language Model Agents.md +++ b/Large Language Model Agents.md @@ -0,0 +1,12 @@ +--- +lang: en +kind: + - reference +--- +# Large Language Model Agents + +Here is a list of LLM agents: + +* [[Qwen Coder]] + +[[Compare coding agents]] \ No newline at end of file diff --git a/Large Language Models.md b/Large Language Models.md index 0dbd2353..e0802532 100644 --- a/Large Language Models.md +++ b/Large Language Models.md @@ -1,8 +1,6 @@ --- -tags: - - Definition kind: - - explain + - reference lang: en --- # Large Language Models diff --git a/Qwen Coder.md b/Qwen Coder.md new file mode 100644 index 00000000..3e6fd188 --- /dev/null +++ b/Qwen Coder.md @@ -0,0 +1,8 @@ +--- +kind: + - reference +lang: en +--- +# Qwen Coder + +Website: diff --git a/bases/Prozesse.base b/bases/Prozesse.base index 8e634343..a1d009a6 100644 --- a/bases/Prozesse.base +++ b/bases/Prozesse.base @@ -14,3 +14,4 @@ views: direction: DESC columnSize: file.name: 610 + diff --git a/generate-base-views.js b/generate-base-views.js index 87d5e021..e69de29b 100644 --- a/generate-base-views.js +++ b/generate-base-views.js @@ -1,11 +0,0 @@ -// I would like to process the view definition files in the `./bases` folder and output them as markdown table. -// The input data of the views are the markdown files and their frontmatter. -// Have a look at `./Prozesse.base.md` to see the expected output. -// Can you complete the `./generate-base-views.js` file? -// Use `js-yaml` to read the bases file. -// Use `front-matter` to read the frontmatter of the markdown files. -// Note that the filters are strings and can be run as js code. -// To process the markdown files create a list of objects with attributes. -// Don't hardcode the field names of the view defintions. -// Only add comments for functions and for loops. -// Use pnpm instead of npm. diff --git a/package.json b/package.json index fbe880ca..95c67628 100644 --- a/package.json +++ b/package.json @@ -21,6 +21,7 @@ }, "dependencies": { "front-matter": "^4.0.2", + "gray-matter": "^4.0.3", "js-yaml": "^4.1.0" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 167c684a..5eef1f8c 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -11,6 +11,9 @@ importers: front-matter: specifier: ^4.0.2 version: 4.0.2 + gray-matter: + specifier: ^4.0.3 + version: 4.0.3 js-yaml: specifier: ^4.1.0 version: 4.1.0