WIP: stage all uncommitted work — sprints 46-221, graduation headers, specialist fleet, test steps 909-1988
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
9
example_projects/cpp_cache_indexer/PROJECT_META.md
Normal file
9
example_projects/cpp_cache_indexer/PROJECT_META.md
Normal file
@@ -0,0 +1,9 @@
|
||||
# cpp_cache_indexer
|
||||
|
||||
- stack: cpp
|
||||
- validator: cmake --build . && ctest
|
||||
- common_failure_modes: header/impl mismatch, parser edge cases
|
||||
|
||||
## Scope
|
||||
|
||||
Small representative project for training data generation.
|
||||
7
example_projects/cpp_cache_indexer/TASKS.md
Normal file
7
example_projects/cpp_cache_indexer/TASKS.md
Normal file
@@ -0,0 +1,7 @@
|
||||
# Task Seeds: cpp_cache_indexer
|
||||
|
||||
include/indexer.h, src/indexer.cpp
|
||||
|
||||
## Validator
|
||||
|
||||
`cmake --build . && ctest`
|
||||
4
example_projects/cpp_cache_indexer/include/indexer.h
Normal file
4
example_projects/cpp_cache_indexer/include/indexer.h
Normal file
@@ -0,0 +1,4 @@
|
||||
#pragma once
|
||||
#include <string>
|
||||
#include <vector>
|
||||
std::vector<std::string> tokenize(const std::string& line);
|
||||
10
example_projects/cpp_cache_indexer/src/indexer.cpp
Normal file
10
example_projects/cpp_cache_indexer/src/indexer.cpp
Normal file
@@ -0,0 +1,10 @@
|
||||
#include "indexer.h"
|
||||
#include <sstream>
|
||||
|
||||
std::vector<std::string> tokenize(const std::string& line) {
|
||||
std::istringstream in(line);
|
||||
std::vector<std::string> out;
|
||||
std::string tok;
|
||||
while (in >> tok) out.push_back(tok);
|
||||
return out;
|
||||
}
|
||||
Reference in New Issue
Block a user