100 tasks from the HWE arm-linux code-gen pool (outside the lk/man/pth range given to batch 22), each with at least one independent contract-edge defect and plain public docs. Claude reviewed 100/100 USABLE against current digests; no ID or source overlap with main or batch 22. Difficulty is unmeasured. progress.md records the wrap-up: all Codex sessions and Qwen schedulers stopped for the user's rollout, Qwen results so far (57 HARD of 373), and what is left on each batch branch. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
15 lines
4.7 KiB
JSON
15 lines
4.7 KiB
JSON
{
|
|
"candidates": [
|
|
"include/resource_map.hpp",
|
|
"src/pool.hpp",
|
|
"src/pool.cpp",
|
|
"src/session.cpp"
|
|
],
|
|
"seeds": [
|
|
93619,
|
|
120247,
|
|
80333
|
|
],
|
|
"observer": "#include \"resource_map.hpp\"\n#include <iostream>\n#include <string>\nusing namespace resource_map;\nnamespace {\nvoid mapping_fields(const MappingInfo& m)\n{\n std::cout << m.token << ' ' << m.owner << ' ' << m.resource_index\n << ' ' << m.start << ' ' << m.size << ' ' << m.reads\n << ' ' << m.writes << ' ' << m.fills;\n}\n}\nint main()\n{\n Manager manager;\n std::string command;\n while (std::cin >> command) {\n if (command == \"Z\") {\n manager.reset();\n std::cout << \"Z\\n\";\n } else if (command == \"C\") {\n int id, count;\n std::cin >> id >> count;\n std::vector<Resource> resources;\n for (int index = 0; index < count; ++index) {\n Resource resource;\n std::cin >> resource.kind >> resource.start >> resource.size;\n resources.push_back(resource);\n }\n std::cout << \"C \" << static_cast<int>(manager.configure(id, resources)) << '\\n';\n } else if (command == \"P\") {\n int id, ordinal, fault;\n std::cin >> id >> ordinal >> fault;\n const auto result = manager.probe(id, ordinal, fault);\n std::cout << \"P \" << static_cast<int>(result.code) << ' ' << result.token << '\\n';\n } else if (command == \"X\") {\n int id;\n std::cin >> id;\n std::cout << \"X \" << static_cast<int>(manager.remove(id)) << '\\n';\n } else if (command == \"R\") {\n std::uint64_t token, offset;\n int width;\n std::cin >> token >> offset >> width;\n const auto result = manager.read(token, offset, width);\n std::cout << \"R \" << static_cast<int>(result.code) << ' ' << result.value << '\\n';\n } else if (command == \"W\") {\n std::uint64_t token, offset, value;\n int width;\n std::cin >> token >> offset >> width >> value;\n std::cout << \"W \" << static_cast<int>(manager.write(token, offset, width, value)) << '\\n';\n } else if (command == \"F\") {\n std::uint64_t token, offset;\n int count, value;\n std::cin >> token >> offset >> count >> value;\n std::cout << \"F \" << static_cast<int>(manager.fill(token, offset, count, value)) << '\\n';\n } else if (command == \"B\") {\n std::uint64_t token, offset;\n int count;\n std::cin >> token >> offset >> count;\n const auto result = manager.dump(token, offset, count);\n std::cout << \"B \" << static_cast<int>(result.code) << ' ' << result.bytes.size();\n for (auto byte : result.bytes) {\n std::cout << ' ' << byte;\n }\n std::cout << '\\n';\n } else if (command == \"D\") {\n int id;\n std::cin >> id;\n const auto result = manager.device(id);\n std::cout << \"D \" << static_cast<int>(result.code) << ' ' << result.configured\n << ' ' << result.active << ' ' << result.resource_count\n << ' ' << result.token << ' ' << result.mem_ordinal << '\\n';\n } else if (command == \"E\") {\n int id, index;\n std::cin >> id >> index;\n const auto result = manager.resource(id, index);\n std::cout << \"E \" << static_cast<int>(result.code) << ' ' << result.kind\n << ' ' << result.start << ' ' << result.size << '\\n';\n } else if (command == \"M\") {\n std::uint64_t token;\n std::cin >> token;\n const auto result = manager.mapping(token);\n std::cout << \"M \" << static_cast<int>(result.code) << ' ';\n mapping_fields(result);\n std::cout << '\\n';\n } else if (command == \"L\") {\n const auto result = manager.snapshot();\n std::cout << \"L \" << result.size();\n for (const auto& mapping : result) {\n std::cout << ' ';\n mapping_fields(mapping);\n }\n std::cout << '\\n';\n } else if (command == \"S\") {\n const auto s = manager.statistics();\n std::cout << \"S \" << s.created << ' ' << s.released << ' ' << s.probe_success\n << ' ' << s.probe_faults << ' ' << s.read_ops << ' ' << s.write_ops\n << ' ' << s.fill_ops << ' ' << s.live << ' ' << s.live_bytes << '\\n';\n }\n }\n return 0;\n}\n"
|
|
}
|